fix server.py
This commit is contained in:
parent
66a4953b83
commit
5c3b802315
|
@ -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
|
Loading…
Reference in New Issue
Block a user