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