Remove windows specific stuff from config file

This commit is contained in:
cncfanatics
2010-11-13 16:01:47 +01:00
parent 659e9ba580
commit 4f36f7686d

View File

@@ -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