Hellager / weibo_supertopic_sign

基于Python/Nodejs的微博超话签到脚本,支持云函数运行或青龙面板运行
MIT License
94 stars 39 forks source link

青龙面板运行报错 ImportError: cannot import name 'notifier' from 'notify' (/ql/shell/preload/notify.py) #35

Open pooneyy opened 1 month ago

pooneyy commented 1 month ago
Traceback (most recent call last):
  File "/ql/data/scripts/weibo_supertopic_sign/index.py", line 1, in <module>
    import supertopicsign
  File "/ql/data/scripts/weibo_supertopic_sign/supertopicsign.py", line 7, in <module>
    from notify import notifier
ImportError: cannot import name 'notifier' from 'notify' (/ql/shell/preload/notify.py)

判断是文件有冲突,青龙面板有同名的notify.py文件

解决方案是将项目的notify文件夹改名,同时在supertopicsign.py的第7行修改引用