Merge remote-tracking branch 'upstream/master'

pull/38/head
Sami Mokaddem 2018-02-22 10:17:31 +01:00
commit 6825e10128
1 changed files with 1 additions and 1 deletions

View File

@ -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)