force reader update in update-story.py

This commit is contained in:
Jason Schwarzenberger 2020-11-20 12:21:27 +13:00
parent d288546d6f
commit abf7f0a802

View File

@ -17,6 +17,9 @@ search.init()
def _update_current_story(story, item):
logging.info('Updating story: {}'.format(str(story['ref'])))
if story.get('url', ''):
story['text'] = ''
valid = feed.update_story(story, urlref=item['urlref'])
if valid:
database.put_story(story)