mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
full sync terminates media sync; start it again afterwards
https://forums.ankiweb.net/t/media-files-not-downloaded-in-first-full-sync-v2-1-28/1198/3
This commit is contained in:
parent
15f13145ea
commit
b5cbfe3bbb
1 changed files with 2 additions and 0 deletions
|
@ -191,6 +191,7 @@ def full_download(mw: aqt.main.AnkiQt, on_done: Callable[[], None]) -> None:
|
|||
fut.result()
|
||||
except Exception as err:
|
||||
handle_sync_error(mw, err)
|
||||
mw.media_syncer.start()
|
||||
return on_done()
|
||||
|
||||
mw.taskman.with_progress(
|
||||
|
@ -219,6 +220,7 @@ def full_upload(mw: aqt.main.AnkiQt, on_done: Callable[[], None]) -> None:
|
|||
except Exception as err:
|
||||
handle_sync_error(mw, err)
|
||||
return on_done()
|
||||
mw.media_syncer.start()
|
||||
return on_done()
|
||||
|
||||
mw.taskman.with_progress(
|
||||
|
|
Loading…
Reference in a new issue