|
|
@ -56,9 +56,9 @@ class VanillaDefaultConnCheck(Adw.Bin):
|
|
|
|
return True
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
urlopen("http://google.com", timeout=1)
|
|
|
|
urlopen("https://google.com", timeout=1)
|
|
|
|
return True
|
|
|
|
return True
|
|
|
|
except URLError:
|
|
|
|
except:
|
|
|
|
return False
|
|
|
|
return False
|
|
|
|
|
|
|
|
|
|
|
|
def callback(res, *args):
|
|
|
|
def callback(res, *args):
|
|
|
|