From 6efc0c36a506a4aad5b8deefa424bf38531be644 Mon Sep 17 00:00:00 2001 From: Randall Mason Date: Mon, 14 May 2012 17:17:46 +0300 Subject: [PATCH] check for forms, not aqt.forms in error message --- aqt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/__init__.py b/aqt/__init__.py index e65202e30..3063d151e 100644 --- a/aqt/__init__.py +++ b/aqt/__init__.py @@ -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