diff options
author | Erik Johnston <erik@matrix.org> | 2020-05-12 11:20:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 11:20:48 +0100 |
commit | 1a1da60ad2c9172fe487cd38a164b39df60f4cb5 (patch) | |
tree | 2b2f1a2f431535f2f9088f06486c9070c3805f0c /synapse/config/server.py | |
parent | Convert federation handler to async/await. (#7459) (diff) | |
download | synapse-1a1da60ad2c9172fe487cd38a164b39df60f4cb5.tar.xz |
Fix new flake8 errors (#7470)
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r-- | synapse/config/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index 6d88231843..ed28da3deb 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -522,7 +522,7 @@ class ServerConfig(Config): ) def has_tls_listener(self) -> bool: - return any(l["tls"] for l in self.listeners) + return any(listener["tls"] for listener in self.listeners) def generate_config_section( self, server_name, data_dir_path, open_private_ports, listeners, **kwargs |