mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2000831 [[Content Server] "Continue reading..." disappears upon no connection](https://bugs.launchpad.net/calibre/+bug/2000831)
This commit is contained in:
parent
c5427c5ebe
commit
ed930aaf87
@ -37,7 +37,8 @@ recently_read_by_user = {'updated': False}
|
|||||||
|
|
||||||
|
|
||||||
def update_recently_read_by_user(items):
|
def update_recently_read_by_user(items):
|
||||||
recently_read_by_user.items = items
|
if items:
|
||||||
|
recently_read_by_user.items = items
|
||||||
recently_read_by_user.updated = True
|
recently_read_by_user.updated = True
|
||||||
|
|
||||||
|
|
||||||
|
@ -138,6 +138,8 @@ def do_update_interface_data():
|
|||||||
if data.translations?:
|
if data.translations?:
|
||||||
get_translations(data.translations)
|
get_translations(data.translations)
|
||||||
install(data.translations)
|
install(data.translations)
|
||||||
|
else:
|
||||||
|
update_recently_read_by_user()
|
||||||
).send()
|
).send()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user