Fix for savePath config

This commit is contained in:
blitzmann
2014-01-28 13:14:33 -05:00
parent d97764586f
commit b9ffe18775

View File

@@ -44,7 +44,7 @@ def defPaths():
if savePath is None:
savePath = os.path.join(pyfaPath, "saveddata")
else:
savePath = getattr(configforced, "savePath", None)
savePath = getattr(configforced, "savePath", savePath)
if savePath is None:
savePath = unicode(os.path.expanduser(os.path.join("~", ".pyfa")), sys.getfilesystemencoding())