mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 15:44:50 -04:00
Fix new flake8 errors (#7470)
This commit is contained in:
parent
8c8858e124
commit
1a1da60ad2
7 changed files with 19 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue