From a8fad358b9f147219d8bb1c66933eb739a8fc910 Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Thu, 20 Jun 2024 18:23:04 +0100 Subject: [PATCH] Fix database URL reference --- app/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialogs.py b/app/dialogs.py index e76440e..c484427 100644 --- a/app/dialogs.py +++ b/app/dialogs.py @@ -57,7 +57,7 @@ class ReplaceFilesDialog(QDialog): # We only want to run this against the production database because # we will affect files in the common pool of tracks used by all # databases - dburi = os.environ.get("ALCHEMICAL_DATABASE_URI") + dburi = os.environ.get("DATABASE_URL") if not dburi or "musicmuster_prod" not in dburi: if not ask_yes_no( "Not production database",