From d85d06710627672dad8329667b655287513ae396 Mon Sep 17 00:00:00 2001 From: Jason Trost Date: Fri, 19 Jun 2015 08:36:41 -0400 Subject: [PATCH] check for list as well in basenormalizer.py.parse_record_data --- normalizer/modules/basenormalizer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/normalizer/modules/basenormalizer.py b/normalizer/modules/basenormalizer.py index 80e9517..5bce95b 100644 --- a/normalizer/modules/basenormalizer.py +++ b/normalizer/modules/basenormalizer.py @@ -79,5 +79,7 @@ def is_RFC1918_addr(self, ip): def parse_record_data(self, data): if type(data) is dict: return data + elif type(data) is list: + return data else: return json.loads(data)