Implement delete thumbnail entry

Implement delete cache_dir on database change
This commit is contained in:
Ozzie Isaacs
2022-03-16 20:31:25 +01:00
parent d9a83e0638
commit 06e8845641
4 changed files with 29 additions and 5 deletions

View File

@@ -1248,6 +1248,7 @@ def _db_configuration_update_helper():
ub.session.query(ub.KoboReadingState).delete()
ub.session.query(ub.KoboStatistics).delete()
ub.session.query(ub.KoboSyncedBooks).delete()
helper.delete_thumbnail_cache()
ub.session_commit()
_config_string(to_save, "config_calibre_dir")
calibre_db.update_config(config)