IRCP- information gathering tool for irc servers |
git clone git://git.acid.vegas/IRCP.git |
Log | Files | Refs | Archive | README | LICENSE |
commit ab7062537a1b369c1d798007031664a8bc5de653
parent 3a1963b032cc930d312efdc57d13e1a59ed26e17 Author: acidvegas <acid.vegas@acid.vegas> Date: Fri, 26 May 2023 03:50:23 -0400 Added a note about while loops.. Diffstat:
|
1 file changed, 1 insertion(+), 1 deletion(-) |
diff --git 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() |