Undo old logic

`None` values in the configuration are now checked before being saved
This commit is contained in:
Shreya 2020-03-03 01:49:35 +05:30
parent 5f3458349d
commit 4592c21829
1 changed files with 0 additions and 2 deletions

View File

@ -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)