Skip to content

Commit 259da26

Browse files
committed
fix: add strict=True to zip() in JOIN confirmation handlers
1 parent c263e1a commit 259da26

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

irc_handlers/err_nomotd_422.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async def execute(self, send_msg, prefix, command, params):
2222
),
2323
return_exceptions=True,
2424
)
25-
for chan, result in zip(self.channels, results):
25+
for chan, result in zip(self.channels, results, strict=True):
2626
if isinstance(result, TimeoutError):
2727
logger.warning("Timed out waiting for JOIN confirmation on %s", chan)
2828

irc_handlers/rpl_endofmotd_376.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async def execute(self, send_msg, prefix, command, params):
2222
),
2323
return_exceptions=True,
2424
)
25-
for chan, result in zip(self.channels, results):
25+
for chan, result in zip(self.channels, results, strict=True):
2626
if isinstance(result, TimeoutError):
2727
logger.warning("Timed out waiting for JOIN confirmation on %s", chan)
2828

0 commit comments

Comments
 (0)