Fix channel sync debug message

This commit is contained in:
Andrew Ferrazzutti 2022-03-12 23:27:28 -05:00
parent 1a947a1999
commit c7df4b1e65
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ class User(DBUser, BaseUser):
sync_count = min(sync_count, len(login_result.channelList))
await self.push_bridge_state(BridgeStateEvent.BACKFILLING)
self.log.debug(f"Syncing {sync_count} of {login_result.channelList} channels...")
self.log.debug(f"Syncing {sync_count} of {len(login_result.channelList)} channels...")
for channel_item in login_result.channelList[:sync_count]:
# TODO try-except here, above, below?
await self._sync_channel(channel_item)