force reader update in update-story.py
This commit is contained in:
parent
d288546d6f
commit
abf7f0a802
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user