fix crash with debug notify

This commit is contained in:
Open Toontown 2022-01-19 17:20:02 -05:00
parent cb7a8492d9
commit 59968e3cee

View file

@ -2108,7 +2108,7 @@ class OTPClientRepository(ClientRepositoryBase):
def handleDatagram(self, di): def handleDatagram(self, di):
if self.notify.getDebug(): if self.notify.getDebug():
print('ClientRepository received datagram:') print('ClientRepository received datagram:')
di.getDatagram().dumpHex(ostream) di.getDatagram().dumpHex(Notify.out())
msgType = self.getMsgType() msgType = self.getMsgType()
if msgType == 65535: if msgType == 65535:
self.lostConnection() self.lostConnection()