1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-28 22:07:41 +00:00

paged and orderable shelfs

Fix for non writable settings db with non configured calibre-web
This commit is contained in:
Ozzieisaacs
2020-12-27 10:24:51 +01:00
parent abf0f4d699
commit 27dcbcd7e1
7 changed files with 67 additions and 35 deletions

View File

@@ -445,6 +445,8 @@ class CalibreDB():
cls.config = config
cls.dispose()
# toDo: if db changed -> delete shelfs, delete download books, delete read boks, kobo sync??
if not config.config_calibre_dir:
config.invalidate()
return False