Fix network check

main
axtloss 2 years ago
parent 97c0f794fc
commit c3f9157cb3
No known key found for this signature in database
GPG Key ID: DD6D66939396C90E

@ -52,9 +52,9 @@ class VanillaDefaultConnCheck(Adw.Bin):
def __start_conn_check(self): def __start_conn_check(self):
def async_fn(): def async_fn():
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):

Loading…
Cancel
Save