anki/qt/runanki.py

17 lines
256 B
Python
Raw Normal View History

#!/usr/bin/env python3
import os
import sys
try:
import bazelfixes
bazelfixes.fix_pywin32_in_bazel()
bazelfixes.fix_extraneous_path_in_bazel()
except ImportError:
pass
import aqt
2020-11-01 07:16:19 +01:00
if not os.environ.get("ANKI_IMPORT_ONLY"):
aqt.run()