flyfishes / ctyun_keepalive

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

大佬logger报错 #1

Closed buse88 closed 6 months ago

buse88 commented 6 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 6 months ago

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

flyfishes commented 6 months ago

已解决。