Setting.__init__ call in OptionsSetting ctor needs self
param
This commit is contained in:
parent
0e9aebdb81
commit
7091860e54
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ class OptionsSetting(Setting):
|
|||
def __init__(self, name: str, options: typing.List[str], help: str=None,
|
||||
example: str=None):
|
||||
self._options = options
|
||||
Setting.__init__(name, help, example)
|
||||
Setting.__init__(self, name, help, example)
|
||||
|
||||
def parse(self, value: str) -> typing.Any:
|
||||
value_lower = value.lower()
|
||||
|
|
Loading…
Reference in a new issue