wechat-admin icon indicating copy to clipboard operation
wechat-admin copied to clipboard

NameError: global name 'FileNotFoundError' is not defined

Open feesx opened this issue 6 years ago • 0 comments

File "/root/wechat-admin/libs/wx.py", line 53, in get_logged_in_user 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

feesx avatar May 23 '18 14:05 feesx