forked from p15670423/monkey
Undo old logic
`None` values in the configuration are now checked before being saved
This commit is contained in:
parent
5f3458349d
commit
4592c21829
|
@ -27,8 +27,6 @@ class Configuration(object):
|
|||
if self._depth_from_commandline and key == "depth":
|
||||
continue
|
||||
if hasattr(self, key):
|
||||
if type(value) == list:
|
||||
value = list(filter(None, value))
|
||||
setattr(self, key, value)
|
||||
else:
|
||||
unknown_items.append(key)
|
||||
|
|
Loading…
Reference in New Issue