eric6/eric6_editor.py

branch
setup.py
changeset 6949
a5255f1ba3f0
parent 6942
2602857055c5
child 7192
a22eee00b052
diff -r 660757d6c57b -r a5255f1ba3f0 eric6/eric6_editor.py
--- a/eric6/eric6_editor.py	Sun Apr 14 19:29:24 2019 +0200
+++ b/eric6/eric6_editor.py	Mon Apr 15 19:53:29 2019 +0200
@@ -14,6 +14,11 @@
 
 from __future__ import unicode_literals
 
+import sys
+import os
+
+sys.path.insert(1, os.path.dirname(__file__))
+
 import Toolbox.PyQt4ImportHook  # __IGNORE_WARNING__
 
 try:  # Only for Py2
@@ -21,9 +26,6 @@
 except (ImportError):
     pass
 
-import sys
-import os
-
 for arg in sys.argv[:]:
     if arg.startswith("--config="):
         import Globals

eric ide

mercurial