From 7091860e5452a4cc1f3cfc6bdf2ba5bd95512ea2 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 28 Jun 2019 23:27:56 +0100 Subject: [PATCH] Setting.__init__ call in OptionsSetting ctor needs `self` param --- src/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/__init__.py b/src/utils/__init__.py index 545360c8..cc3ca689 100644 --- a/src/utils/__init__.py +++ b/src/utils/__init__.py @@ -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()