Reformat code.

This commit is contained in:
Fabio Caccamo
2023-02-09 19:14:51 +01:00
parent 71cc60bea3
commit fa81b2ea5e
3 changed files with 3 additions and 9 deletions
+1 -3
View File
@@ -83,9 +83,7 @@ if github_workflow:
database_config["postgres_replica"]["HOST"] = "127.0.0.1"
database_config["postgres_replica"]["PORT"] = "5432"
replica_engine = (
"postgres_replica" if database_engine == "postgres" else database_engine
)
replica_engine = "postgres_replica" if database_engine == "postgres" else database_engine
DATABASES = {
"default": database_config.get(database_engine),