Update settingsManager.py
This commit is contained in:
parent
44a2bee401
commit
ac476be152
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user