make parameter optional

This commit is contained in:
chrys 2018-09-07 22:08:08 +02:00
parent ef091a427d
commit c7502ab909

View File

@ -186,7 +186,7 @@ class settingsManager():
self.settingArgDict[section] = {}
self.settingArgDict[section][option] = str(value)
def parseSettingArgs(self, settingArgs, allowSettings):
def parseSettingArgs(self, settingArgs, allowSettings = None):
for optionElem in settingArgs.split(';'):
if len(optionElem.split('#',1)) != 2:
continue