[check] some fixes
This commit is contained in:
parent
3b0c614dd9
commit
f5209cc705
@ -6,10 +6,8 @@ import logging
|
|||||||
|
|
||||||
from driver.core import me_bot
|
from driver.core import me_bot
|
||||||
|
|
||||||
id = me_bot.id
|
|
||||||
|
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
filename=f'streambot-logs-{id}.txt',
|
filename=f'streambot-logs-{me_bot.id}.txt',
|
||||||
level=logging.INFO,
|
level=logging.INFO,
|
||||||
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s'
|
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user