Skip to content

Commit

Permalink
#161 #211 fix the summary method and return {} if no taxonomy is avai…
Browse files Browse the repository at this point in the history
…lable
  • Loading branch information
nadouani committed Mar 23, 2018
1 parent f10644e commit 0eeceba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions analyzers/Abuse_Finder/abusefinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def summary(self, raw):
for abuse in raw['abuse_finder']['abuse']:
taxonomies.append(self.build_taxonomy("info", "Abuse_Finder", "Address", abuse))
return {"taxonomies": taxonomies}

return {}

def abuse(self):
if self.data_type == "ip":
Expand Down

0 comments on commit 0eeceba

Please sign in to comment.