Fix already-filled feeds

By pulling the content from "content" when needed
master
pictuga 2013-10-01 19:50:28 +02:00
parent ae5e947417
commit 145f59b546
1 changed files with 4 additions and 0 deletions

View File

@ -306,6 +306,10 @@ def Fill(item, cache, feedurl='/', fast=False):
count_desc = countWord(item.desc)
if max(count_content, count_desc) > 500:
if count_desc > count_content:
item.content = item.desc
del item.desc
log('reversed sizes')
log('long enough')
return True