Update settingsManager.py
This commit is contained in:
parent
14125c7ccc
commit
ba0d381130
@ -138,12 +138,11 @@ class settingsManager():
|
|||||||
return environment
|
return environment
|
||||||
|
|
||||||
def setFenrirKeys(self, environment, keys):
|
def setFenrirKeys(self, environment, keys):
|
||||||
|
keys = keys.upper()
|
||||||
keyList = keys.split(',')
|
keyList = keys.split(',')
|
||||||
for key in keyList:
|
for key in keyList:
|
||||||
keyID = self.keyIDasString( key)
|
if not key in environment['input']['fenrirKey']:
|
||||||
if keyID != '':
|
environment['input']['fenrirKey'].append(key)
|
||||||
if not keyID in environment['input']['fenrirKey']:
|
|
||||||
environment['input']['fenrirKey'].append(keyID)
|
|
||||||
return environment
|
return environment
|
||||||
|
|
||||||
def keyIDasString(self, key):
|
def keyIDasString(self, key):
|
||||||
|
Loading…
Reference in New Issue
Block a user