From b82c94efd8ddbf932efe68caa92cd38d7a456543 Mon Sep 17 00:00:00 2001 From: tgoff0 Date: Fri, 22 May 2015 00:54:39 +0000 Subject: [PATCH] prevent unintended session options alteration from the gui --- daemon/core/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon/core/conf.py b/daemon/core/conf.py index b7b38451..d320fa57 100644 --- a/daemon/core/conf.py +++ b/daemon/core/conf.py @@ -76,6 +76,8 @@ class ConfigurableManager(object): try: # key=value (key, value) = kv.split('=', 1) + if value is not None and value.is_empty(): + value = None except ValueError: # value only key = keys[kvs.index(kv)]