mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
don't mask original import error
This commit is contained in:
parent
7678ddcf45
commit
2b09e40e1b
1 changed files with 3 additions and 3 deletions
6
anki
6
anki
|
@ -16,7 +16,7 @@ if __name__ == "__main__":
|
||||||
import aqt.forms
|
import aqt.forms
|
||||||
except ImportError, e:
|
except ImportError, e:
|
||||||
if "aqt.forms" in str(e):
|
if "aqt.forms" in str(e):
|
||||||
raise Exception("Please read README.development.")
|
print "If you're running from git, did you run build_ui.sh?"
|
||||||
else:
|
print
|
||||||
raise
|
raise
|
||||||
aqt.run()
|
aqt.run()
|
||||||
|
|
Loading…
Reference in a new issue