From 4f36f7686d4c90c32f21bfc68c67fa6efacaab1c Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Sat, 13 Nov 2010 16:01:47 +0100 Subject: [PATCH] Remove windows specific stuff from config file --- config.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config.py b/config.py index dccedd957..86077a8a0 100644 --- a/config.py +++ b/config.py @@ -4,11 +4,7 @@ import sys debug = False #Path autodetection, only change if it doesn't work - -if hasattr(sys, "frozen"): - path = os.path.dirname(unicode(sys.executable, sys.getfilesystemencoding( ))) -else: - path = os.path.dirname(unicode(__file__, sys.getfilesystemencoding())) +path = os.path.dirname(unicode(__file__, sys.getfilesystemencoding())) homePath = os.path.expanduser(os.path.join("~", ".pyfa")) staticPath = homePath