make parameter optional
This commit is contained in:
parent
ef091a427d
commit
c7502ab909
@ -186,7 +186,7 @@ class settingsManager():
|
|||||||
self.settingArgDict[section] = {}
|
self.settingArgDict[section] = {}
|
||||||
self.settingArgDict[section][option] = str(value)
|
self.settingArgDict[section][option] = str(value)
|
||||||
|
|
||||||
def parseSettingArgs(self, settingArgs, allowSettings):
|
def parseSettingArgs(self, settingArgs, allowSettings = None):
|
||||||
for optionElem in settingArgs.split(';'):
|
for optionElem in settingArgs.split(';'):
|
||||||
if len(optionElem.split('#',1)) != 2:
|
if len(optionElem.split('#',1)) != 2:
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user