diff options
author | Erik Johnston <erik@matrix.org> | 2019-12-12 15:21:12 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-12-12 15:21:12 +0000 |
commit | 495005360cd37009818ad4214a5462c3dd0b15a6 (patch) | |
tree | 4028a737f4294313814469b5798ed7cc9f81813c /synapse/config/ratelimiting.py | |
parent | Newsfile (diff) | |
download | synapse-495005360cd37009818ad4214a5462c3dd0b15a6.tar.xz |
Bump version of mypy
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 """\ |