flyfishes / ctyun_keepalive

天翼云电脑自动连接保活,阻止休眠
GNU General Public License v3.0
15 stars 2 forks source link

大佬logger报错 #1

Closed buse88 closed 7 months ago

buse88 commented 7 months ago

line 14, in __g_logger = logger.Logger() ^^^^^^^^^^^^^ AttributeError: module 'logger' has no attribute 'Logger'. Did you mean: 'logger'?

根据百度提示先弄了import logging,然后再配置了 又会有新的错误都是跟这个__g_logger = logging.getLogger有关

flyfishes commented 7 months ago

sorry,漏了logger.py文件,已经补上。

flyfishes commented 7 months ago

已解决。