Skip to content

Error when updating config #2

@tulir

Description

@tulir
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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions