mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-18 19:54:09 +02:00
make all var names lower case and fix circular imports
This commit is contained in:
@@ -14,15 +14,15 @@ config = AllEncompassingConfig().database
|
||||
db_url = (
|
||||
"postgresql+psycopg"
|
||||
+ "://"
|
||||
+ config.USER
|
||||
+ config.user
|
||||
+ ":"
|
||||
+ config.PASSWORD
|
||||
+ config.password
|
||||
+ "@"
|
||||
+ config.HOST
|
||||
+ config.host
|
||||
+ ":"
|
||||
+ str(config.PORT)
|
||||
+ str(config.port)
|
||||
+ "/"
|
||||
+ config.DBNAME
|
||||
+ config.dbname
|
||||
)
|
||||
|
||||
engine = create_engine(db_url, echo=False)
|
||||
|
||||
Reference in New Issue
Block a user