mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
take a backup prior to sync
This commit is contained in:
parent
1122eed357
commit
8afdec9850
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class Sync(QThread):
|
|||
# reconnect
|
||||
self.deck = None
|
||||
try:
|
||||
self.deck = DeckStorage.Deck(self.parent.deckPath, backup=False)
|
||||
self.deck = DeckStorage.Deck(self.parent.deckPath)
|
||||
client = SyncClient(self.deck)
|
||||
client.setServer(proxy)
|
||||
proxy.deckName = self.parent.syncName
|
||||
|
|
Loading…
Reference in a new issue