Fix for finding configuration file
This commit is contained in:
parent
8f62c7c366
commit
252960159e
@ -20,7 +20,7 @@ class ConfigurationGetter(object):
|
||||
def _findWorkingDir(self):
|
||||
frozen = getattr(sys, 'frozen', '')
|
||||
if not frozen:
|
||||
path = os.path.dirname(os.path.dirname(__file__))
|
||||
path = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
|
||||
elif frozen in ('dll', 'console_exe', 'windows_exe'):
|
||||
path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user