mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
check for forms, not aqt.forms in error message
This commit is contained in:
parent
21d61be4c0
commit
6efc0c36a5
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ moduleDir = os.path.split(os.path.dirname(os.path.abspath(__file__)))[0]
|
||||||
try:
|
try:
|
||||||
import aqt.forms
|
import aqt.forms
|
||||||
except ImportError, e:
|
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 "If you're running from git, did you run build_ui.sh?"
|
||||||
print
|
print
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in a new issue