Fix variable

This commit is contained in:
Kumi 2022-09-26 14:28:38 +00:00
parent 82fa6d445e
commit 62c45a311b
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -79,11 +79,11 @@ if "MySQL" in ASK.config:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': CONFIG_FILE.config.get("MySQL", "Database"),
'USER': CONFIG_FILE.config.get("MySQL", "Username"),
'PASSWORD': CONFIG_FILE.config.get("MySQL", "Password"),
'HOST': CONFIG_FILE.config.get("MySQL", "Host", fallback="localhost"),
'PORT': CONFIG_FILE.config.getint("MySQL", "Port", fallback=3306)
'NAME': ASK.config.get("MySQL", "Database"),
'USER': ASK.config.get("MySQL", "Username"),
'PASSWORD': ASK.config.get("MySQL", "Password"),
'HOST': ASK.config.get("MySQL", "Host", fallback="localhost"),
'PORT': ASK.config.getint("MySQL", "Port", fallback=3306)
}
}