From 90f419b08891d54fd91551819716f87f96f2e53c Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 17 Dec 2010 21:17:09 +0900 Subject: [PATCH] skip expensive summary generation after db check --- ankiqt/ui/sync.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ankiqt/ui/sync.py b/ankiqt/ui/sync.py index da1e1bc10..14fef4edd 100755 --- a/ankiqt/ui/sync.py +++ b/ankiqt/ui/sync.py @@ -187,6 +187,8 @@ sync was aborted. Please report this error.""") self.deck = None try: self.deck = DeckStorage.Deck(path) + if not self.deck.lastSync: + self.conflictResolution = "keepLocal" client = SyncClient(self.deck) client.setServer(proxy) # need to do anything?