don't mask original import error

This commit is contained in:
Damien Elmes 2012-01-12 13:31:54 +09:00
parent 7678ddcf45
commit 2b09e40e1b

4
anki
View file

@ -16,7 +16,7 @@ if __name__ == "__main__":
import aqt.forms
except ImportError, e:
if "aqt.forms" in str(e):
raise Exception("Please read README.development.")
else:
print "If you're running from git, did you run build_ui.sh?"
print
raise
aqt.run()