mirror of
https://github.com/Findus23/RadioStats.git
synced 2024-09-09 04:23:47 +02:00
use database from config
This commit is contained in:
parent
ee476efe09
commit
b098de392e
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -9,7 +9,7 @@ from sentry_sdk.integrations.flask import FlaskIntegration
|
|||
|
||||
import config
|
||||
|
||||
DATABASE = PooledPostgresqlDatabase("radiostats", **config.db)
|
||||
DATABASE = PooledPostgresqlDatabase(**config.db)
|
||||
if config.cache:
|
||||
CACHE_TYPE = "redis"
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue