From 4592c218293d5bf098580dcb4913dbaeeb23deca Mon Sep 17 00:00:00 2001 From: Shreya Date: Tue, 3 Mar 2020 01:49:35 +0530 Subject: [PATCH] Undo old logic `None` values in the configuration are now checked before being saved --- monkey/infection_monkey/config.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/monkey/infection_monkey/config.py b/monkey/infection_monkey/config.py index 0612bf01e..5c5b5a392 100644 --- a/monkey/infection_monkey/config.py +++ b/monkey/infection_monkey/config.py @@ -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)