From ab7062537a1b369c1d798007031664a8bc5de653 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Fri, 26 May 2023 03:50:23 -0400 Subject: [PATCH] Added a note about while loops.. --- ircp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircp.py b/ircp.py index 96c1f96..7d566c4 100644 --- a/ircp.py +++ b/ircp.py @@ -233,7 +233,7 @@ class probe: pass async def listen(self): - while not self.reader.at_eof(): + while not self.reader.at_eof(): # NOTE: should we use while True and break @ exceptions? try: data = await asyncio.wait_for(self.reader.readuntil(b'\r\n'), throttle.ztimeout) line = data.decode('utf-8').strip()