From 43e864e47b72dea4d11d4eb5816cb97aec1912ca Mon Sep 17 00:00:00 2001 From: blitzman Date: Fri, 27 Jan 2017 20:36:19 -0500 Subject: [PATCH] Fix issue in which `-s` flag was not being honored --- config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index b6bc5a74c..017b75304 100644 --- a/config.py +++ b/config.py @@ -86,7 +86,7 @@ def defPaths(customSavePath): savePath = getattr(configforced, "savePath", None) if savePath is None: if customSavePath is None: # customSavePath is not overriden - savePath = getSavePath() + savePath = os.path.expanduser(os.path.join("~", ".pyfa")) else: savePath = customSavePath @@ -147,7 +147,7 @@ def getPyfaPath(Append=None): def getSavePath(Append=None): - root = os.path.expanduser(os.path.join("~", ".pyfa")) + root = savePath if Append: path = parsePath(root, Append)