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: global name 'FileNotFoundError' is not defined #61

Open
feesx opened this issue May 23, 2018 · 0 comments
Open

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

feesx opened this issue May 23, 2018 · 0 comments

Comments

@feesx
Copy link

feesx commented May 23, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant