mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-25 22:46:34 +00:00
commit
1c433159b1
@ -1,7 +1,6 @@
|
|||||||
import os
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from urllib.parse import urljoin
|
from urllib.parse import urljoin
|
||||||
from common.logger import log
|
|
||||||
from common.utils import parse_database_connection_string
|
from common.utils import parse_database_connection_string
|
||||||
|
|
||||||
|
|
||||||
@ -32,6 +31,8 @@ if database_connection_env:
|
|||||||
|
|
||||||
|
|
||||||
if database_dict:
|
if database_dict:
|
||||||
|
if not logging:
|
||||||
|
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"]}:'
|
||||||
f'{database_dict["PORT"]}/{database_dict["NAME"]}')
|
f'{database_dict["PORT"]}/{database_dict["NAME"]}')
|
||||||
|
Loading…
Reference in New Issue
Block a user