prevent unintended session options alteration from the gui
This commit is contained in:
parent
0018be074f
commit
b82c94efd8
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@ class ConfigurableManager(object):
|
||||||
try:
|
try:
|
||||||
# key=value
|
# key=value
|
||||||
(key, value) = kv.split('=', 1)
|
(key, value) = kv.split('=', 1)
|
||||||
|
if value is not None and value.is_empty():
|
||||||
|
value = None
|
||||||
except ValueError:
|
except ValueError:
|
||||||
# value only
|
# value only
|
||||||
key = keys[kvs.index(kv)]
|
key = keys[kvs.index(kv)]
|
||||||
|
|
Loading…
Reference in a new issue