mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -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
|
self.deck = None
|
||||||
try:
|
try:
|
||||||
self.deck = DeckStorage.Deck(path)
|
self.deck = DeckStorage.Deck(path)
|
||||||
|
if not self.deck.lastSync:
|
||||||
|
self.conflictResolution = "keepLocal"
|
||||||
client = SyncClient(self.deck)
|
client = SyncClient(self.deck)
|
||||||
client.setServer(proxy)
|
client.setServer(proxy)
|
||||||
# need to do anything?
|
# need to do anything?
|
||||||
|
|
Loading…
Reference in a new issue