diff --git a/station_announcer/__init__.py b/station_announcer/__init__.py index c942b0a..7c375c4 100644 --- a/station_announcer/__init__.py +++ b/station_announcer/__init__.py @@ -32,11 +32,7 @@ def create_app() -> Flask: db_path = app.config.get("STATION_DB") if not db_path: - old_db = instance_dir / "alt_text_cache.db" - new_db = instance_dir / "station_announcer.db" - if old_db.exists() and not new_db.exists(): - old_db.rename(new_db) - db_path = str(new_db) + db_path = str(instance_dir / "station_announcer.db") app.config["STATION_DB"] = db_path app.immich_client = ImmichClient(