Fix database URL reference

This commit is contained in:
Keith Edmunds 2024-06-20 18:23:04 +01:00
parent 6e4c386fe2
commit a8fad358b9

View File

@ -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",