Delete books in shelfs, downloaded books, kobo sync status, etc on database change (fixes #620)

This commit is contained in:
Ozzie Isaacs
2021-12-04 11:50:25 +01:00
parent 91a21ababe
commit bd01e840ca
4 changed files with 11 additions and 12 deletions
-3
View File
@@ -550,11 +550,8 @@ class CalibreDB():
@classmethod
def setup_db(cls, config_calibre_dir, app_db_path):
# cls.config = config
cls.dispose()
# toDo: if db changed -> delete shelfs, delete download books, delete read boks, kobo sync??
if not config_calibre_dir:
cls.config.invalidate()
return False