eric6/eric6config.py

branch
setup.py
changeset 6949
a5255f1ba3f0
parent 6942
2602857055c5
child 7229
53054eb5b15a
--- a/eric6/eric6config.py	Sun Apr 14 19:29:24 2019 +0200
+++ b/eric6/eric6config.py	Mon Apr 15 19:53:29 2019 +0200
@@ -9,10 +9,9 @@
 
 from __future__ import unicode_literals
 
-import sys
 import os
 
-__ericDir = os.path.dirname(sys.argv[0])
+__ericDir = os.path.dirname(__file__)
 
 _pkg_config = {
     'ericDir': __ericDir,

eric ide

mercurial