Fix feedparser without tags

This commit is contained in:
Oleg Lavrovsky 2017-07-06 15:58:13 +02:00
parent 47bb705502
commit 2fef42bfc2

View file

@ -49,6 +49,7 @@ def parse(obj, raw, stream):
# Collect tags
tags = []
if 'tags' in obj.raw:
for tag in obj.raw['tags']:
if 'label' in tag:
label = tag['label'].replace(',','-')