diff options
| author | 2019-06-28 23:27:56 +0100 | |
|---|---|---|
| committer | 2019-06-28 23:27:56 +0100 | |
| commit | 7091860e5452a4cc1f3cfc6bdf2ba5bd95512ea2 (patch) | |
| tree | 251189c78e489236b120acc04d0c245f6c85fa08 /src/utils | |
| parent | 'auto-github' should be a BoolSetting, not a Setting (diff) | |
| signature | ||
Setting.__init__ call in OptionsSetting ctor needs `self` param
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
