Skip to content

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

@feesx

Description

@feesx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions