diff --git a/hotspot_proxy_v2.py b/hotspot_proxy_v2.py index 30d5b86..487d917 100644 --- a/hotspot_proxy_v2.py +++ b/hotspot_proxy_v2.py @@ -229,7 +229,7 @@ class APIFactory(Factory): def buildProtocol(self, addr): if self.debug: print('(API) connection attempt from: {}:{}'.format(addr.host, addr.port)) - return API(self,self.master,self.debug,self.peertrack,self,proxy) + return API(self,self.master,self.debug,self.peertrack,self.proxy) class API(NetstringReceiver): def __init__(self, factory,master,debug,peertrack,proxy):