summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcah <cah@ableton.com>2022-02-18 00:02:04 +0100
committercah <cah@ableton.com>2022-02-18 00:02:04 +0100
commitb32b040544df8a84b89eb351764a456ed4884c15 (patch)
tree05f6cfb95d60a19da5277b50dc9ef169afcbc49a
parentd3d8e6763614a0f18b62eb0209acd99dc95ae343 (diff)
Little cleanup.
-rwxr-xr-xcdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdist b/cdist
index 87db25a..6315653 100755
--- a/cdist
+++ b/cdist
@@ -103,7 +103,7 @@ class BoolOption(object):
def offer(self, key, value):
if key == self.key:
- self.value = (value == 'yes' or value == '1' or value == 'true')
+ self.value = value in ['yes', '1', 'true']
class Config:
def __init__(self):