mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Fix python synatx
This commit is contained in:
parent
105709bf32
commit
4d55b16faa
@ -81,7 +81,8 @@ class ProfileHandler(BaseHandler):
|
|||||||
"""
|
"""
|
||||||
host_batches = yield self.store.get_replication_hosts()
|
host_batches = yield self.store.get_replication_hosts()
|
||||||
latest_batch = yield self.store.get_latest_profile_replication_batch_number()
|
latest_batch = yield self.store.get_latest_profile_replication_batch_number()
|
||||||
if latest_batch is None latest_batch = -1
|
if latest_batch is None:
|
||||||
|
latest_batch = -1
|
||||||
for repl_host in self.hs.config.replicate_user_profiles_to:
|
for repl_host in self.hs.config.replicate_user_profiles_to:
|
||||||
if repl_host not in host_batches:
|
if repl_host not in host_batches:
|
||||||
host_batches[repl_host] = -1
|
host_batches[repl_host] = -1
|
||||||
|
Loading…
Reference in New Issue
Block a user