Setting.__init__ call in OptionsSetting ctor needs self param

This commit is contained in:
jesopo 2019-06-28 23:27:56 +01:00
parent 0e9aebdb81
commit 7091860e54

View file

@ -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()