As far as I can tell that IP address is down
(both ping and nmap -Pn confirm this)
This commit is contained in:
parent
45f9ba3c66
commit
71c64b2c26
@ -66,7 +66,7 @@ class I3statusHandler(object):
|
|||||||
|
|
||||||
def has_internet_connection():
|
def has_internet_connection():
|
||||||
try:
|
try:
|
||||||
response=urllib2.urlopen('http://74.125.113.99',timeout=1)
|
response=urllib2.urlopen('http://173.194.69.94',timeout=1)
|
||||||
return True
|
return True
|
||||||
except urllib2.URLError as err: pass
|
except urllib2.URLError as err: pass
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user