summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/config.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-01-17 21:03:48 +0100
committerKali Kaneko <kali@leap.se>2018-01-25 01:19:14 +0100
commitbb69e8a2bd6117ee432e7b9ced09f200d61926b7 (patch)
tree02493f4e8b4f9c2b3678e85b1581e0bb69996d0f /src/leap/bitmask/config.py
parent40ee176057d214d5307d9addecd4df8db6231e73 (diff)
[feat] autostart application when user logs in
Diffstat (limited to 'src/leap/bitmask/config.py')
-rw-r--r--src/leap/bitmask/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/bitmask/config.py b/src/leap/bitmask/config.py
index 4c1fbca7..17a20d3f 100644
--- a/src/leap/bitmask/config.py
+++ b/src/leap/bitmask/config.py
@@ -96,4 +96,8 @@ class _ConfigurationSection(object):
return self.config.get(self.section, option, default, boolean)
def set(self, option, value):
+ if value is True:
+ value = 'true'
+ elif value is False:
+ value = 'false'
return self.config.set(self.section, option, value)