Merge pull request #144 from axtloss/main

Fix network check
main
Mateus B. Melchiades 1 year ago committed by GitHub
commit 3f8be6f61d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save