Deactivated several functions for kindle tolino and kobo. Opening books now working for ebook readers

This commit is contained in:
Ozzie Isaacs
2022-03-25 18:30:12 +01:00
parent 2a5e9a97bb
commit 14a6e7c42c
12 changed files with 33 additions and 28 deletions
+1 -1
View File
@@ -1493,7 +1493,7 @@ def _handle_edit_user(to_save, content, languages, translations, kobo_support):
content.role &= ~constants.ROLE_ANONYMOUS
val = [int(k[5:]) for k in to_save if k.startswith('show_')]
sidebar = get_sidebar_config()
sidebar, __ = get_sidebar_config()
for element in sidebar:
value = element['visibility']
if value in val and not content.check_visibility(value):