Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/itchat/components/register.py", line 66, in configured_reply
r = replyFn(msg)
File "demo.py", line 36, in groupchat_reply
return reply or defaultReply
UnboundLocalError: local variable 'reply' referenced before assignment
您好,使用您的itchat正在学习python,程序非常棒,调用很多,需要一个个去尝试,按照文档注册了一个真的isAt的tuling机器人反馈,但是经常会收到UnboundLocalError的报错,不是很明白是哪里有问题导致,忘能指导一下,谢谢
以下是demo.py
以下是错误提示的标准输出