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']))

@ -1 +1 @@
Subproject commit 91c0a71ccd60bd2af7ce039d5159f3afa0cd3d64
Subproject commit a51ea0e42391c8ab5e9b166754131bf3934cba40