Typo
This commit is contained in:
parent
ff358b1a1f
commit
410c23e8c0
|
@ -107,7 +107,7 @@ class Router:
|
||||||
self.localAddress = s.getsockname()[0]
|
self.localAddress = s.getsockname()[0]
|
||||||
logger.debug("Local IP: %s", self.localAddress)
|
logger.debug("Local IP: %s", self.localAddress)
|
||||||
try:
|
try:
|
||||||
s.shutdown(socket.SHUT.RDWR)
|
s.shutdown(socket.SHUT_RDWR)
|
||||||
s.close()
|
s.close()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
Reference in New Issue
Block a user