From 5d04800e0a6dafd6b85546c7d8f80f75cd8d24da Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 25 Jul 2022 01:35:42 +0100 Subject: [PATCH] rpto --- hotspot_proxy_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot_proxy_v2.py b/hotspot_proxy_v2.py index 8b807f5..235829f 100644 --- a/hotspot_proxy_v2.py +++ b/hotspot_proxy_v2.py @@ -265,7 +265,7 @@ class API(NetstringReceiver): if self.debug: print("(API) Passing options line for ID {} to server".format(int_id(peer_id))) _dport = self.peerTrack[_peer_id]['dport'] - self.transport.write(b''.join([RPTO,_options]), (self.master,_dport)) + self.transport.write(b''.join([b'RPTO',_options]), (self.master,_dport)) if __name__ == '__main__':