fix settings parser

This commit is contained in:
chrys 2018-10-24 23:54:49 +02:00
parent 3b933d3c63
commit 2bb64d7f33

View File

@ -232,8 +232,8 @@ class settingsManager():
if len(optionElem.split('#',1)[1].split('=',1)) != 2: if len(optionElem.split('#',1)[1].split('=',1)) != 2:
continue continue
section = str(optionElem.split('#',1)[0]).lower() section = str(optionElem.split('#',1)[0])
option = str(optionElem.split('#',1)[1].split('=',1)[0]).lower() option = str(optionElem.split('#',1)[1].split('=',1)[0])
value = optionElem.split('#',1)[1].split('=',1)[1] value = optionElem.split('#',1)[1].split('=',1)[1]
self.setOptionArgDict(section, option, value) self.setOptionArgDict(section, option, value)