demoss / src /config /__init__.py
BennyThink's picture
WIP: refactor (#460)
e99a4e1
raw
history blame contribute delete
350 Bytes
#!/usr/bin/env python3
# coding: utf-8
# ytdlbot - __init__.py.py
import logging
from dotenv import load_dotenv
load_dotenv()
from config.config import *
from config.constant import *
logging.basicConfig(
level=logging.INFO,
format="[%(asctime)s %(filename)s:%(lineno)d %(levelname).1s] %(message)s",
datefmt="%Y-%m-%d %H:%M:%S",
)