mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +00:00
Update local_settings.py.container
This commit is contained in:
parent
2c9e70f8cd
commit
ec7c05d53f
@ -1,4 +1,5 @@
|
||||
import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
from urllib.parse import urljoin
|
||||
from common.utils import parse_database_connection_string
|
||||
@ -31,8 +32,8 @@ if database_connection_env:
|
||||
|
||||
|
||||
if database_dict:
|
||||
# check that logging was already imported a better way
|
||||
from common.logger import log
|
||||
if 'logging' not in sys.modules:
|
||||
from common.logger import log
|
||||
log.info(f'Using database connection: {database_dict["ENGINE"]}://'
|
||||
f'{database_dict["USER"]}:[hidden]@{database_dict["HOST"]}:'
|
||||
f'{database_dict["PORT"]}/{database_dict["NAME"]}')
|
||||
|
Loading…
Reference in New Issue
Block a user