master
mailchuck 7 years ago committed by Peter Surda
parent 410c23e8c0
commit 36ddbd365e
  1. 2
      src/upnp.py

@ -206,7 +206,7 @@ class uPnPThread(threading.Thread, StoppableThread):
for router in self.routers:
if router.extPort is None:
self.createPortMapping(router)
self.sock.shutdown(socket.SHUT.RDWR)
self.sock.shutdown(socket.SHUT_RDWR)
self.sock.close()
deleted = False
for router in self.routers:

Loading…
Cancel
Save