mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 05:56:37 +00:00
commit
1c433159b1
@ -1,7 +1,6 @@
|
||||
import os
|
||||
from pathlib import Path
|
||||
from urllib.parse import urljoin
|
||||
from common.logger import log
|
||||
from common.utils import parse_database_connection_string
|
||||
|
||||
|
||||
@ -32,6 +31,8 @@ if database_connection_env:
|
||||
|
||||
|
||||
if database_dict:
|
||||
if not logging:
|
||||
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