From 59968e3cee56e7a66cfea295d98d6e29af7c8ebf Mon Sep 17 00:00:00 2001 From: Open Toontown <57279094+opentoontown@users.noreply.github.com> Date: Wed, 19 Jan 2022 17:20:02 -0500 Subject: [PATCH] fix crash with debug notify --- otp/distributed/OTPClientRepository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otp/distributed/OTPClientRepository.py b/otp/distributed/OTPClientRepository.py index 90a2867..4b14f20 100644 --- a/otp/distributed/OTPClientRepository.py +++ b/otp/distributed/OTPClientRepository.py @@ -2108,7 +2108,7 @@ class OTPClientRepository(ClientRepositoryBase): def handleDatagram(self, di): if self.notify.getDebug(): print('ClientRepository received datagram:') - di.getDatagram().dumpHex(ostream) + di.getDatagram().dumpHex(Notify.out()) msgType = self.getMsgType() if msgType == 65535: self.lostConnection()