summaryrefslogtreecommitdiff
path: root/source/features.py
diff options
context:
space:
mode:
authornasrlol <nsrddyn@gmail.com>2024-12-03 02:08:32 +0100
committernasrlol <nsrddyn@gmail.com>2024-12-03 02:08:32 +0100
commitc9bc6ef4b4a57fc0b6699e158be247056a6bf3c9 (patch)
treef91b7917f2f749a24ed159d7a690e350b83ac8ae /source/features.py
parent1a3c5ac8cbbf6e3fa72983156ff279b57785852a (diff)
trying to make a fix to the lcd initializing to avoid usign root to initializie the lcd which it requires for some reason
Diffstat (limited to 'source/features.py')
-rw-r--r--source/features.py9
1 files changed, 3 insertions, 6 deletions
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: