From c3f9157cb3954cade206d00e60672fc992436fe1 Mon Sep 17 00:00:00 2001 From: axtloss Date: Tue, 28 Feb 2023 18:18:15 +0100 Subject: [PATCH] Fix network check --- vanilla_first_setup/defaults/conn_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vanilla_first_setup/defaults/conn_check.py b/vanilla_first_setup/defaults/conn_check.py index c0d5d08..ab8dc1a 100644 --- a/vanilla_first_setup/defaults/conn_check.py +++ b/vanilla_first_setup/defaults/conn_check.py @@ -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):