fix server.py

This commit is contained in:
Jason
2020-12-15 00:57:20 +00:00
parent 66a4953b83
commit 5c3b802315
2 changed files with 2 additions and 2 deletions

View File

@@ -180,7 +180,7 @@ def _update_current_story(item):
database.put_story(story)
search.put_story(story)
except database.IntegrityError:
logging.info('Unable to add story with ref ' + ref)
logging.info('Unable to add story with ref ' + item['ref'])
else:
database.del_ref(item['ref'])
logging.info('Removed ref {}'.format(item['ref']))