mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
perform bulk (media) sync after full sync with server
This commit is contained in:
parent
77a8c53e9c
commit
6c6473762f
1 changed files with 2 additions and 0 deletions
2
ankiqt/ui/sync.py
Normal file → Executable file
2
ankiqt/ui/sync.py
Normal file → Executable file
|
@ -126,6 +126,8 @@ class Sync(QThread):
|
|||
else:
|
||||
self.setStatus(_("Downloading..."), 0)
|
||||
client.fullSyncFromServer(ret[1], ret[2])
|
||||
if client.mediaSupported():
|
||||
self.doBulkDownload(proxy.deckName)
|
||||
self.setStatus(_("Sync complete."), 0)
|
||||
else:
|
||||
# diff
|
||||
|
|
Loading…
Reference in a new issue