bugfix
This commit is contained in:
parent
1cafb4067c
commit
41817c3b1a
@ -40,7 +40,7 @@ class AcrossNat(object):
|
|||||||
return x['NewExternalIPAddress']
|
return x['NewExternalIPAddress']
|
||||||
try:
|
try:
|
||||||
return get('https://api.ipify.org').text
|
return get('https://api.ipify.org').text
|
||||||
except:/Users/ymq/pydev/github/appPublic/appPublic
|
except:
|
||||||
return get('https://ipapi.co/ip/').text
|
return get('https://ipapi.co/ip/').text
|
||||||
|
|
||||||
def upnp_check_external_port(self, eport, protocol='TCP'):
|
def upnp_check_external_port(self, eport, protocol='TCP'):
|
||||||
|
Loading…
Reference in New Issue
Block a user