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