mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-18 03:54:03 +02:00
run linter and formatter
This commit is contained in:
@@ -14,17 +14,17 @@ log = logging.getLogger(__name__)
|
||||
config = DbConfig()
|
||||
|
||||
db_url = (
|
||||
"postgresql+psycopg"
|
||||
+ "://"
|
||||
+ config.USER
|
||||
+ ":"
|
||||
+ config.PASSWORD
|
||||
+ "@"
|
||||
+ config.HOST
|
||||
+ ":"
|
||||
+ str(config.PORT)
|
||||
+ "/"
|
||||
+ config.DBNAME
|
||||
"postgresql+psycopg"
|
||||
+ "://"
|
||||
+ config.USER
|
||||
+ ":"
|
||||
+ config.PASSWORD
|
||||
+ "@"
|
||||
+ config.HOST
|
||||
+ ":"
|
||||
+ str(config.PORT)
|
||||
+ "/"
|
||||
+ config.DBNAME
|
||||
)
|
||||
|
||||
engine = create_engine(db_url, echo=False)
|
||||
|
||||
Reference in New Issue
Block a user