diff --git a/src/fenrir-package/core/settingsManager.py b/src/fenrir-package/core/settingsManager.py index abe0eb2b..8de19723 100644 --- a/src/fenrir-package/core/settingsManager.py +++ b/src/fenrir-package/core/settingsManager.py @@ -138,12 +138,11 @@ class settingsManager(): return environment def setFenrirKeys(self, environment, keys): + keys = keys.upper() keyList = keys.split(',') for key in keyList: - keyID = self.keyIDasString( key) - if keyID != '': - if not keyID in environment['input']['fenrirKey']: - environment['input']['fenrirKey'].append(keyID) + if not key in environment['input']['fenrirKey']: + environment['input']['fenrirKey'].append(key) return environment def keyIDasString(self, key):