Fix broken feeds.py calls for items count

master
pictuga 2013-09-08 15:47:15 +02:00
parent fe89a70f24
commit 5ebd84ee55
1 changed files with 2 additions and 2 deletions

View File

@ -383,7 +383,7 @@ def Gather(url, cachePath, mode='feed'):
return False return False
rss = feeds.parse(xml) rss = feeds.parse(xml)
size = len(rss) size = len(rss.items)
# set # set
startTime = time.time() startTime = time.time()
@ -403,7 +403,7 @@ def Gather(url, cachePath, mode='feed'):
else: else:
Fill(item, cache, url) Fill(item, cache, url)
log(len(rss)) log(len(rss.items))
return rss.tostring(xml_declaration=True, encoding='UTF-8') return rss.tostring(xml_declaration=True, encoding='UTF-8')