mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Showing the correct logging info for mismarked read stories.
This commit is contained in:
parent
6b69326d53
commit
90355c7fff
1 changed files with 2 additions and 2 deletions
|
@ -649,11 +649,11 @@ def mark_story_as_read(request):
|
|||
m.save()
|
||||
except OperationError:
|
||||
logging.user(request.user, "~BRMarked story as read: Duplicate Story -> %s" % (story_id))
|
||||
logging.user(request.user, "~BRRead now date: %s, story_id: %s." % (m.read_date, story.story_id))
|
||||
logging.user(request.user, "~BRRead now date: %s, story_id: %s." % (m.read_date, story.story_guid))
|
||||
logging.user(request.user, "~BRSubscription mark_read_date: %s, oldest_unread_story_date: %s" % (
|
||||
usersub.mark_read_date, usersub.oldest_unread_story_date))
|
||||
m = MUserStory.objects.get(story=story, user_id=request.user.pk, feed_id=feed_id)
|
||||
logging.user(request.user, "~BROriginal read date: %s, story id: %s" % (m.read_date, m.story_id))
|
||||
logging.user(request.user, "~BROriginal read date: %s, story id: %s" % (m.read_date, m.story_guid))
|
||||
m.read_date = date
|
||||
m.save()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue