parent
ae5e947417
commit
145f59b546
4
morss.py
4
morss.py
|
@ -306,6 +306,10 @@ def Fill(item, cache, feedurl='/', fast=False):
|
||||||
count_desc = countWord(item.desc)
|
count_desc = countWord(item.desc)
|
||||||
|
|
||||||
if max(count_content, count_desc) > 500:
|
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')
|
log('long enough')
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue