fixed hashtags

This commit is contained in:
Ed Summers
2018-06-09 13:35:58 -04:00
parent 5911f648c2
commit 17eead1ab0

View File

@ -66,7 +66,7 @@ def get_feed(feed_url, last_update):
def get_entry(entry): def get_entry(entry):
hashtags = [] hashtags = []
for tag in entry.get('tags', []): for tag in entry.get('tags', []):
hashtags.add('#{}'.format(tag.value)) hashtags.append('#{}'.format(tag.value))
return { return {
'url': entry.id, 'url': entry.id,
'title': entry.title, 'title': entry.title,