pig6 / wxrobot

基于python的微信机器人
789 stars 314 forks source link

linux下扫描二维码问题 #3

Closed yourenz closed 5 years ago

yourenz commented 5 years ago

linux运行不显示二维码,在加了console_qr参数后,二维码成功显示,然后出现了错误. 我是在robot.py的第10行进行改动,加上了console_qr参数: bot = Bot(console_qr=True, cache_path=True) 出现了以下错误: File "robot.py", line 12, in load.load_config_to_bot(bot) File "/root/wxrobot/load.py", line 30, in load_config_to_bot bot.is_forward_revoke_msg = config.is_forward_revoke_msg AttributeError: module 'config' has no attribute 'is_forward_revoke_msg'

求教大佬该怎么解决这个问题 拜谢拜谢.