Skip to content

Commit

Permalink
#77 #82 fix double entry in categories
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Jul 25, 2017
1 parent a372d13 commit 35ca0a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions analyzers/WOT/WOT_lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def __init__(self):
"302": "Alternative or controversial medicine",
"303": "Opinions, religion, politics",
"304": "Other",
"501": "Good site",
"401": "Adult content",
"402": "Incidental nudity",
"403": "Gruesome or shocking",
Expand Down Expand Up @@ -87,7 +86,7 @@ def summary(self, raw):
else:
level = "malicious"

taxonomies.append(self.build_taxonomy(level, "WOT", "Category", value))
taxonomies.append(self.build_taxonomy(level, "WOT", "Category", "\"{}\"".format(value)))
return {"taxonomies": taxonomies}

def run(self):
Expand Down

0 comments on commit 35ca0a3

Please sign in to comment.