Database changes, new translations #32
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"locale": "en",
|
"locale": "en",
|
||||||
|
"debug": false,
|
||||||
"bot": {
|
"bot": {
|
||||||
"owner": 0,
|
"owner": 0,
|
||||||
"api_id": 0,
|
"api_id": 0,
|
||||||
|
2
main.py
2
main.py
@ -12,7 +12,7 @@ from modules.migrator import migrate_database
|
|||||||
from modules.scheduler import scheduler
|
from modules.scheduler import scheduler
|
||||||
|
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
level=logging.INFO,
|
level=logging.DEBUG if sync.config_get("debug") else logging.INFO,
|
||||||
format="%(name)s.%(funcName)s | %(levelname)s | %(message)s",
|
format="%(name)s.%(funcName)s | %(levelname)s | %(message)s",
|
||||||
datefmt="[%X]",
|
datefmt="[%X]",
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user