Skip to content

Commit

Permalink
Merge pull request #37 from mokaddem/quick-fix
Browse files Browse the repository at this point in the history
fix: register tags from attributes
  • Loading branch information
mokaddem authored Feb 22, 2018
2 parents 600a3f1 + 8e59307 commit 07a6640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zmq_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def handler_attribute(zmq_name, jsonobj, hasAlreadyBeenContributed=False):
tags = []
for tag in jsonattr.get('Tag', []):
try:
tags.append(tag['Tag'])
tags.append(tag)
except KeyError:
pass
trendings_helper.addTrendingTags(tags, timestamp)
Expand Down

0 comments on commit 07a6640

Please sign in to comment.