From ac476be1524cf0f763c9c0af929c9a37e980ab3d Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 25 Jul 2017 14:58:24 +0200 Subject: [PATCH] Update settingsManager.py --- src/fenrir/core/settingsManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fenrir/core/settingsManager.py b/src/fenrir/core/settingsManager.py index c7c4e183..b09329f9 100644 --- a/src/fenrir/core/settingsManager.py +++ b/src/fenrir/core/settingsManager.py @@ -259,7 +259,7 @@ class settingsManager(): environment['runtime']['debug'].initialize(environment) # get fenrir settings root if not os.path.exists(settingsRoot): - if os.path.exists(fenrirPath) +'/../../config/'): + if os.path.exists(fenrirPath +'/../../config/'): settingsRoot = fenrirPath +'/../../config/' else: return None @@ -271,7 +271,7 @@ class settingsManager(): return None # get sound themes root if not os.path.exists(soundRoot): - if os.path.exists(fenrirPath) +' /../../config/sound/'): + if os.path.exists(fenrirPath +' /../../config/sound/'): soundRoot = fenrirPath + '/../../config/sound/' environment['runtime']['settingsManager'] = self