check for forms, not aqt.forms in error message

This commit is contained in:
Randall Mason 2012-05-14 17:17:46 +03:00
parent 21d61be4c0
commit 6efc0c36a5

View file

@ -19,7 +19,7 @@ moduleDir = os.path.split(os.path.dirname(os.path.abspath(__file__)))[0]
try:
import aqt.forms
except ImportError, e:
if "aqt.forms" in str(e):
if "forms" in str(e):
print "If you're running from git, did you run build_ui.sh?"
print
raise