mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 18:02:23 -04:00
Bump version of mypy
This commit is contained in:
parent
c965253e4b
commit
495005360c
7 changed files with 12 additions and 7 deletions
|
@ -83,10 +83,9 @@ class RatelimitConfig(Config):
|
|||
)
|
||||
|
||||
rc_admin_redaction = config.get("rc_admin_redaction")
|
||||
self.rc_admin_redaction = None
|
||||
if rc_admin_redaction:
|
||||
self.rc_admin_redaction = RateLimitConfig(rc_admin_redaction)
|
||||
else:
|
||||
self.rc_admin_redaction = None
|
||||
|
||||
def generate_config_section(self, **kwargs):
|
||||
return """\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue