AssistantEric/APIsManager.py

changeset 59
2b361d34d241
parent 54
89d28458ff40
child 61
b88fd1352be6
diff -r 0283a7b6f342 -r 2b361d34d241 AssistantEric/APIsManager.py
--- a/AssistantEric/APIsManager.py	Sat May 19 18:34:11 2012 +0200
+++ b/AssistantEric/APIsManager.py	Tue Jun 12 19:07:19 2012 +0200
@@ -11,7 +11,11 @@
 
 from PyQt4.QtCore import QTimer, QThread, QFileInfo, pyqtSignal, QCoreApplication, \
      QEvent, QDateTime, QObject, Qt
-from PyQt4.QtSql import QSqlDatabase, QSqlQuery
+try:
+    from PyQt4.QtSql import QSqlDatabase, QSqlQuery
+except ImportError:
+    # just ignore it because the main plug-in file will deal with it
+    pass
 
 from E5Gui.E5Application import e5App
 

eric ide

mercurial