diff options
author | Erik Johnston <erik@matrix.org> | 2019-12-13 11:32:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-13 11:32:53 +0000 |
commit | 5cadbd9ebb6cc9e6e2e15ab3f77fcbca47d53392 (patch) | |
tree | 811fec2b55d1566cc294de5747842d615932b8d4 /synapse/config/ratelimiting.py | |
parent | Merge branch 'master' into develop (diff) | |
parent | Newsfile (diff) | |
download | synapse-5cadbd9ebb6cc9e6e2e15ab3f77fcbca47d53392.tar.xz |
Merge pull request #6537 from matrix-org/erikj/bump_mypy_version
Bump mypy version
Diffstat (limited to 'synapse/config/ratelimiting.py')
-rw-r--r-- | synapse/config/ratelimiting.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/config/ratelimiting.py b/synapse/config/ratelimiting.py index 947f653e03..4a3bfc4354 100644 --- a/synapse/config/ratelimiting.py +++ b/synapse/config/ratelimiting.py @@ -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 """\ |