From c7df4b1e65ec2d923a5f1dd05536452c83ff30eb Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Sat, 12 Mar 2022 23:27:28 -0500 Subject: [PATCH] Fix channel sync debug message --- matrix_appservice_kakaotalk/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_appservice_kakaotalk/user.py b/matrix_appservice_kakaotalk/user.py index 254c6aa..136d647 100644 --- a/matrix_appservice_kakaotalk/user.py +++ b/matrix_appservice_kakaotalk/user.py @@ -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)