diff --git a/cps/admin.py b/cps/admin.py index bc767a89..08972292 100644 --- a/cps/admin.py +++ b/cps/admin.py @@ -1758,6 +1758,14 @@ def _db_configuration_update_helper(): ub.session.query(ub.KoboSyncedBooks).delete() helper.delete_thumbnail_cache() ub.session_commit() + # deleted visibilities based on custom column and tags + config.config_restricted_column = 0 + config.config_denied_tags = "" + config.config_allowed_tags = "" + config.config_columns_to_ignore = "" + config.config_denied_column_value = "" + config.config_allowed_column_value = "" + config.config_read_column = 0 _config_string(to_save, "config_calibre_dir") calibre_db.update_config(config) if not os.access(os.path.join(config.config_calibre_dir, "metadata.db"), os.W_OK):