From 104df9166c473e031ba5c714e88eb2ec7988f7e3 Mon Sep 17 00:00:00 2001 From: jedgarpark Date: Tue, 4 Feb 2025 18:00:36 -0800 Subject: [PATCH] fixing pylint errors 2 --- Espresso_Water_Meter/code.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Espresso_Water_Meter/code.py b/Espresso_Water_Meter/code.py index 6e12b3216..7991e7b73 100644 --- a/Espresso_Water_Meter/code.py +++ b/Espresso_Water_Meter/code.py @@ -127,7 +127,7 @@ if avg_distance is not None: # Show cyan on successful connection pixel.fill(CYAN) time.sleep(1) # Brief pause to show the connection success - + # pylint: disable=broad-except except Exception as e: print("Failed to connect to WiFi. Error:", e, "\nBoard will hard reset in 30 seconds.") pixel.fill(OFF) @@ -233,7 +233,7 @@ if avg_distance is not None: response.close() - + # pylint: disable=broad-except except Exception as e: print("Failed to get or send data, or connect. Error:", e, "\nBoard will hard reset in 30 seconds.")