skip expensive summary generation after db check

This commit is contained in:
Damien Elmes 2010-12-17 21:17:09 +09:00
parent 3b7c6f4875
commit 90f419b088

View file

@ -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?