Update pubip.py
This commit is contained in:
parent
acbffce40d
commit
d70237d4ec
1
pubip.py
1
pubip.py
|
@ -43,7 +43,6 @@ class pubIpHandler(http.server.BaseHTTPRequestHandler):
|
||||||
self.server.current_ip = n_address
|
self.server.current_ip = n_address
|
||||||
else:
|
else:
|
||||||
print('Update IP mismatch: {}, {}'.format(c_address, n_address))
|
print('Update IP mismatch: {}, {}'.format(c_address, n_address))
|
||||||
return
|
|
||||||
|
|
||||||
msg = self.server.current_ip
|
msg = self.server.current_ip
|
||||||
self.wfile.write(msg.encode('utf-8'))
|
self.wfile.write(msg.encode('utf-8'))
|
||||||
|
|
Loading…
Reference in a new issue