From 02d4ac81dd177821ddfc3dfd5306540e1bea848f Mon Sep 17 00:00:00 2001 From: Constantin Wenger Date: Fri, 5 Feb 2016 13:10:18 +0100 Subject: [PATCH] renamed parameter savepath to customSavePath for better distinguishability to savePath --- config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index b7025c664..b2d8fc95f 100644 --- a/config.py +++ b/config.py @@ -60,7 +60,7 @@ def __createDirs(path): if not os.path.exists(path): os.makedirs(path) -def defPaths(savepath): +def defPaths(customSavePath): global debug global pyfaPath global savePath @@ -87,11 +87,11 @@ def defPaths(savepath): else: savePath = getattr(configforced, "savePath", None) if savePath is None: - if savepath is None: # savepath is not overriden + if customSavePath is None: # customSavePath is not overriden savePath = unicode(os.path.expanduser(os.path.join("~", ".pyfa")), sys.getfilesystemencoding()) else: - savePath = savepath + savePath = customSavePath __createDirs(savePath)