Fix super() call in uPnPThread
This commit is contained in:
parent
ef5575aa63
commit
ee97277d5c
|
@ -206,8 +206,9 @@ class uPnPThread(StoppableThread):
|
||||||
SSDP_ST = "urn:schemas-upnp-org:device:InternetGatewayDevice:1"
|
SSDP_ST = "urn:schemas-upnp-org:device:InternetGatewayDevice:1"
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(uPnPThread, self).__init__(name="uPnPThread")
|
super(uPnPThread, self).__init__(None, name="uPnPThread")
|
||||||
self.extPort = BMConfigParser().safeGetInt('bitmessagesettings', 'extport', default=None)
|
self.extPort = BMConfigParser().safeGetInt(
|
||||||
|
'bitmessagesettings', 'extport', None)
|
||||||
self.localIP = self.getLocalIP()
|
self.localIP = self.getLocalIP()
|
||||||
self.routers = []
|
self.routers = []
|
||||||
self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||||
|
|
Reference in New Issue
Block a user