summaryrefslogtreecommitdiffstats
path: root/pulsecaster/gconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'pulsecaster/gconfig.py')
-rw-r--r--pulsecaster/gconfig.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pulsecaster/gconfig.py b/pulsecaster/gconfig.py
index 919449e..dfddc72 100644
--- a/pulsecaster/gconfig.py
+++ b/pulsecaster/gconfig.py
@@ -43,6 +43,11 @@ class PulseCasterGconf:
self.codec = 'vorbis'
self.client.set_string(self.dirbase + '/codec', self.codec)
+ self.expert = self.client.get(self.dirbase + '/expert')
+ if type(self.expert) is not bool:
+ self.expert = False
+ self.client.set_bool(self.dirbase + '/expert', self.expert)
+
def change_warn(self, val):
if type(val) is not bool:
raise ValueError, "requires bool value"