Pretend mw is set from the start

https://github.com/ankitects/anki/pull/3476#issuecomment-2395281774

Closes #3476
This commit is contained in:
Damien Elmes 2024-10-10 22:17:58 +10:00
parent 479aee0883
commit 79a6a4dc53

View file

@ -95,7 +95,7 @@ from aqt.main import AnkiQt # isort:skip
from aqt.profiles import ProfileManager, VideoDriver # isort:skip from aqt.profiles import ProfileManager, VideoDriver # isort:skip
profiler: cProfile.Profile | None = None profiler: cProfile.Profile | None = None
mw: AnkiQt | None = None # set on init mw: AnkiQt = None # set on init
import aqt.forms import aqt.forms