mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
skip expensive summary generation after db check
This commit is contained in:
parent
3b7c6f4875
commit
90f419b088
1 changed files with 2 additions and 0 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue