From d25a3a66222c1760fa1237ff17d93e9662c22600 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sun, 16 Nov 2025 05:29:54 +0000 Subject: [PATCH] Drop support for old database name. --- station_announcer/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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(