From 252960159e5875c6f8a32296be5683b600ce45c7 Mon Sep 17 00:00:00 2001 From: Uriziel Date: Tue, 16 Oct 2012 17:16:34 +0200 Subject: [PATCH] Fix for finding configuration file --- syncplay/ui/ConfigurationGetter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/ui/ConfigurationGetter.py b/syncplay/ui/ConfigurationGetter.py index 47a0d5b..5c302d6 100644 --- a/syncplay/ui/ConfigurationGetter.py +++ b/syncplay/ui/ConfigurationGetter.py @@ -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: