Simon 3 years ago
parent 7959f093c9
commit 2155736f76

@ -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):

Loading…
Cancel
Save

Powered by TurnKey Linux.