Fix database URL reference
This commit is contained in:
parent
6e4c386fe2
commit
a8fad358b9
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user