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

TypeError: 'NoneType' object is not subscriptable #7

Closed
Goodjooy opened this issue May 3, 2021 · 1 comment
Closed

TypeError: 'NoneType' object is not subscriptable #7

Goodjooy opened this issue May 3, 2021 · 1 comment

Comments

@Goodjooy
Copy link

Goodjooy commented May 3, 2021

运行 python amiya.py时报错,

Traceback (most recent call last):
  File "amiya.py", line 6, in <module>
    from message.messageHandler import MessageHandler
  File "H:\Amiya-Bot\message\messageHandler.py", line 7, in <module>
    from message.replies import reply_func_list
  File "H:\Amiya-Bot\message\replies\__init__.py", line 5, in <module>
    from .emotion import emotion
  File "H:\Amiya-Bot\message\replies\emotion.py", line 8, in <module>
    amiya_name = database.config.get_amiya_name()
  File "H:\Amiya-Bot\database\controller\configController.py", line 16, in get_amiya_name
    self.get_config('amiya_name', 'good_name', True)['config_values'].split(','),
TypeError: 'NoneType' object is not subscriptable
@Goodjooy Goodjooy closed this as completed May 3, 2021
@Goodjooy
Copy link
Author

Goodjooy commented May 3, 2021

导入完整数据问题即解决

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