From c9bc6ef4b4a57fc0b6699e158be247056a6bf3c9 Mon Sep 17 00:00:00 2001 From: nasrlol Date: Tue, 3 Dec 2024 02:08:32 +0100 Subject: trying to make a fix to the lcd initializing to avoid usign root to initializie the lcd which it requires for some reason --- source/features.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'source') diff --git a/source/features.py b/source/features.py index f5f2d04..03d13f7 100644 --- a/source/features.py +++ b/source/features.py @@ -16,12 +16,9 @@ ERROR_TIMEOUT = "the request took too long check youre internet connection" # Initialize components and error handling for debugging # try initializingthe lcd -# if initializations fail they should disale theyre function -try: - lcd_instance = lcd.LCD() -except Exception as e: - print("Error intializing LCD \n exiting the application...") - exit() +# if initializations fail they should disale they're function + +lcd_instance = lcd.LCD() # try initializing the temperature readings try: -- cgit v1.2.3-70-g09d2