Skip to content

Commit 2b95231

Browse files
fix: linting
1 parent dcdb4df commit 2b95231

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

summarizer/grouping.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ def build_dm_conversation(
7272
(p for p in participants.values() if p.id != user_id), None
7373
)
7474

75-
# If we don't have the other participant from messages, try to get it from room memberships
75+
# If we don't have the other participant from messages, try to get it from room
76+
# memberships
7677
if other_participant is None and client is not None:
7778
try:
7879
memberships = client.memberships.list(roomId=convo_msgs[0].space_id)
@@ -84,7 +85,8 @@ def build_dm_conversation(
8485
break
8586
except Exception as e:
8687
logger.warning(
87-
f"Could not fetch room memberships for space {convo_msgs[0].space_id}: {e}"
88+
"Could not fetch room memberships for space "
89+
f"{convo_msgs[0].space_id}: {e}"
8890
)
8991

9092
slug = slugify(other_participant.display_name if other_participant else "unknown")

0 commit comments

Comments
 (0)