diff options
| -rw-r--r-- | source/features.py | 9 |
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 |
| 20 | try: | 20 | |
| 21 | lcd_instance = lcd.LCD() | 21 | lcd_instance = lcd.LCD() |
| 22 | except 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 |
| 27 | try: | 24 | try: |
