Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error when updating config #2

Open
tulir opened this issue May 4, 2020 · 0 comments
Open

Error when updating config #2

tulir opened this issue May 4, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@tulir
Copy link
Member

tulir commented May 4, 2020

Traceback (most recent call last):
  File "/opt/maubot/maubot/management/api/middleware.py", line 43, in error
    return await handler(request)
  File "/opt/maubot/maubot/management/api/instance.py", line 87, in update_instance
    return await _update_instance(instance, data)
  File "/opt/maubot/maubot/management/api/instance.py", line 70, in _update_instance
    instance.update_config(data.get("config", None))
  File "/opt/maubot/maubot/instance.py", line 232, in update_config
    self.plugin.on_external_config_update()
  File "/data/plugins/xyz.maubot.reactbot-v2.0.0-ts1564590275.mbp/reactbot/bot.py", line 71, in on_external_config_update
    fi.max = self.config["antispam.user.max"]
AttributeError: 'tuple' object has no attribute 'max'
@tulir tulir added the bug Something isn't working label May 4, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant