Skip to content

Commit

Permalink
check for list as well in basenormalizer.py.parse_record_data
Browse files Browse the repository at this point in the history
  • Loading branch information
jatrost committed Jun 19, 2015
1 parent 3d7a807 commit d85d067
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions normalizer/modules/basenormalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit d85d067

Please sign in to comment.