Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报错NameError: name 'notifyBlackList' is not defined #13

Closed
ssrgd opened this issue Sep 28, 2021 · 5 comments
Closed

报错NameError: name 'notifyBlackList' is not defined #13

ssrgd opened this issue Sep 28, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@ssrgd
Copy link

ssrgd commented Sep 28, 2021

使用云函数和青龙部署都是提示一样的错误,请大佬解惑

开始执行... 2021-09-28 11:35:58

CK配置 -> 脚本管理 -> 搜索HT_config关键字 -> 编辑

更新配置文件或检测CK
任务:任务中心
时间:2021-09-28 11:35:59
Traceback (most recent call last):
File "Mashiro2000_HeyTapTask_TaskCenter.py", line 604, in
main(None,None)
File "Mashiro2000_HeyTapTask_TaskCenter.py", line 600, in main
if not os.path.basename(file)[:-3] in notifyBlackList:
NameError: name 'notifyBlackList' is not defined

执行结束... 2021-09-28 11:35:59 耗时 1 秒

@awordx
Copy link

awordx commented Sep 28, 2021

我也是报了这个错,不知道咋办

@166679551
Copy link

账号多了就报这个错误

@Mashiro2000
Copy link
Owner

使用云函数和青龙部署都是提示一样的错误,请大佬解惑

开始执行... 2021-09-28 11:35:58

CK配置 -> 脚本管理 -> 搜索HT_config关键字 -> 编辑

更新配置文件或检测CK
任务:任务中心
时间:2021-09-28 11:35:59
Traceback (most recent call last):
File "Mashiro2000_HeyTapTask_TaskCenter.py", line 604, in
main(None,None)
File "Mashiro2000_HeyTapTask_TaskCenter.py", line 600, in main
if not os.path.basename(file)[:-3] in notifyBlackList:
NameError: name 'notifyBlackList' is not defined

执行结束... 2021-09-28 11:35:59 耗时 1 秒

更新下配置文件就可以了,旧的配置文件没有notifyBlackList这个参数,昨天刚刚完成配信功能,加了个通知黑名单
具体方案,HT_config.py里面加个 notifyBlackList = []
就可以了,或者直接复制项目里的HT_config.py的源代码到你的配置文件就可以了

@Mashiro2000
Copy link
Owner

账号多了就报这个错误

更新下配置文件就可以了,旧的配置文件没有notifyBlackList这个参数,昨天刚刚完成配信功能,加了个通知黑名单
具体方案,HT_config.py里面加个 notifyBlackList = []
就可以了,或者直接复制项目里的HT_config.py的源代码到你的配置文件就可以了

@Mashiro2000
Copy link
Owner

账号多了就报这个错误

这个不是账号多导致报错,是因为配置文件里没有定义notifyBlackList = []

@Mashiro2000 Mashiro2000 added good first issue Good for newcomers bug Something isn't working and removed good first issue Good for newcomers labels Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants