This commit is contained in:
Dpeta 2023-02-09 21:20:42 +01:00
parent 8f0933ba68
commit 8e2fd225a5
No known key found for this signature in database
GPG key ID: 51227517CEA0030C

5
irc.py
View file

@ -4,7 +4,9 @@ import random
import time
import ssl
import sys
import select
import datetime
import traceback
try:
from PyQt6 import QtCore, QtGui
@ -995,6 +997,7 @@ class PesterIRC(QtCore.QThread):
PchumLog.info('---> recv "CHANNELS: %s ' % (channel))
def listend(self, server, handle, msg):
"""End of a LIST response, assume channel list is complete."""
pl = PesterList(self.channel_list)
PchumLog.info('---> recv "CHANNELS END"')
self.channelListReceived.emit(pl)
@ -1053,7 +1056,7 @@ class PesterIRC(QtCore.QThread):
"Failed to pass command, did the server pass an unsupported paramater? "
+ str(e)
)
except Exception:
except Exception as e:
# logging.info("Failed to pass command, %s" % str(e))
PchumLog.exception("Failed to pass command")