mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
don't mask missing libraries
This commit is contained in:
parent
27533c0fc8
commit
351e27332c
1 changed files with 5 additions and 2 deletions
7
anki
7
anki
|
@ -14,6 +14,9 @@ if __name__ == "__main__":
|
|||
import aqt
|
||||
try:
|
||||
import aqt.forms
|
||||
except ImportError:
|
||||
raise Exception("Please read README.development.")
|
||||
except ImportError, e:
|
||||
if "aqt.forms" in str(e):
|
||||
raise Exception("Please read README.development.")
|
||||
else:
|
||||
raise
|
||||
aqt.run()
|
||||
|
|
Loading…
Reference in a new issue