From 27b54fa5083ddbea6933a06e412ab2f92b043640 Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Sun, 10 Aug 2025 17:04:59 -0700 Subject: [PATCH] fix --- system/ui/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/ui/setup.py b/system/ui/setup.py index 9c62aec105..2566ea209c 100755 --- a/system/ui/setup.py +++ b/system/ui/setup.py @@ -384,8 +384,7 @@ class Setup(Widget): gui_app.request_close() - except Exception as e: - print(e) + except Exception: error_msg = "Ensure the entered URL is valid, and the device's internet connection is good." self.download_failed(self.download_url, error_msg) @@ -394,6 +393,7 @@ class Setup(Widget): self.failed_reason = reason self.state = SetupState.DOWNLOAD_FAILED + def main(): try: gui_app.init_window("Setup", 20)