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
@ -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 New Issue
Block a user