From 5c3b802315af5b5678f446e0acb52b21854f5122 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 15 Dec 2020 00:57:20 +0000 Subject: [PATCH] fix server.py --- apiserver/server.py | 2 +- readerserver | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apiserver/server.py b/apiserver/server.py index ba98f30..a7e7dad 100644 --- a/apiserver/server.py +++ b/apiserver/server.py @@ -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'])) diff --git a/readerserver b/readerserver index 91c0a71..a51ea0e 160000 --- a/readerserver +++ b/readerserver @@ -1 +1 @@ -Subproject commit 91c0a71ccd60bd2af7ce039d5159f3afa0cd3d64 +Subproject commit a51ea0e42391c8ab5e9b166754131bf3934cba40