force reader update in update-story.py

master
Jason Schwarzenberger 4 years ago
parent d288546d6f
commit abf7f0a802
  1. 3
      apiserver/update-story.py

@ -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…
Cancel
Save