Skip to content

Commit

Permalink
chore: Fix Anki 23.12 incompatibility 2 (#831)
Browse files Browse the repository at this point in the history
fix: Don't start background thread from background thread
  • Loading branch information
RisingOrange authored Dec 13, 2023
1 parent d319534 commit eccb36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ankihub/gui/operations/deck_installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def _install_deck(
latest_udpate=latest_update,
)

media_sync.start_media_download()
aqt.mw.taskman.run_on_main(media_sync.start_media_download)

LOGGER.info("Importing deck was succesful.")

Expand Down

0 comments on commit eccb36c

Please sign in to comment.