dongweiming / wechat-admin

Wechat Management System
https://dongweiming.github.io/wechat-admin/
GNU General Public License v3.0
1.75k stars 421 forks source link

NameError: global name 'FileNotFoundError' is not defined #61

Open feesx opened 6 years ago

feesx commented 6 years ago

File "/root/wechat-admin/libs/wx.py", line 53, in get_logged_inuser user = bot.self File "/usr/local/lib/python2.7/dist-packages/werkzeug/local.py", line 347, in getattr return getattr(self._get_current_object(), name) File "/usr/local/lib/python2.7/dist-packages/werkzeug/local.py", line 306, in _get_current_object return self.local() File "/root/wechat-admin/libs/globals.py", line 8, in _find_bot top = get_bot() File "/root/wechat-admin/libs/wx.py", line 35, in get_bot here, '../static/img/qr_code.png'), console_qr=None) File "/root/wechat-admin/src/wxpy/wxpy/api/bot.py", line 89, in init__ except FileNotFoundError as e: NameError: global name 'FileNotFoundError' is not defined