Skip to content

Commit

Permalink
fix black
Browse files Browse the repository at this point in the history
  • Loading branch information
thanh-nguyen-dang committed Nov 17, 2023
1 parent 7f9edf2 commit 5f55d76
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tube/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
DB_USERNAME = os.getenv("DB_USERNAME") or conf_data.get("db_username", "peregrine")
DB_PASSWORD = os.getenv("DB_PASSWORD") or conf_data.get("db_password", "unknown")

DB_USE_SSL = os.getenv("DB_USE_SSL") or conf_data.get("db_use_ssl", False) # optional property to db_use_ssl
DB_USE_SSL = os.getenv("DB_USE_SSL") or conf_data.get(
"db_use_ssl", False
) # optional property to db_use_ssl
JDBC = (
"jdbc:postgresql://{}:{}/{}".format(DB_HOST, DB_PORT, DB_DATABASE)
if DB_USE_SSL is False
Expand Down

0 comments on commit 5f55d76

Please sign in to comment.