summaryrefslogtreecommitdiff
path: root/source/features.py
diff options
context:
space:
mode:
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"
16 16
17# Initialize components and error handling for debugging 17# Initialize components and error handling for debugging
18# try initializingthe lcd 18# try initializingthe lcd
19# if initializations fail they should disale theyre function 19# if initializations fail they should disale they're function
20try: 20
21 lcd_instance = lcd.LCD() 21lcd_instance = lcd.LCD()
22except Exception as e:
23 print("Error intializing LCD \n exiting the application...")
24 exit()
25 22
26# try initializing the temperature readings 23# try initializing the temperature readings
27try: 24try: