mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52: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:
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue