aboutsummaryrefslogtreecommitdiff
path: root/src/utils/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/settings.py')
-rw-r--r--src/utils/settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/settings.py b/src/utils/settings.py
index 8040c2e8..97fe885b 100644
--- a/src/utils/settings.py
+++ b/src/utils/settings.py
@@ -24,8 +24,8 @@ class Setting(object):
def format(self, value: typing.Any):
return repr(value)
-SETTING_TRUE = ["true", "yes", "on", "y"]
-SETTING_FALSE = ["false", "no", "off", "n"]
+SETTING_TRUE = ["true", "yes", "on", "y", "1"]
+SETTING_FALSE = ["false", "no", "off", "n", "0"]
class BoolSetting(Setting):
example: typing.Optional[str] = "on"
def parse(self, value: str) -> typing.Any: