diff options
| author | nasrlol <nsrddyn@gmail.com> | 2024-12-09 21:37:55 +0100 |
|---|---|---|
| committer | nasrlol <nsrddyn@gmail.com> | 2024-12-09 21:37:55 +0100 |
| commit | 00589c266eb6fc048b6ae7d00a72303876d2b247 (patch) | |
| tree | 7cf7eba37850463c2475f822756ddbfff6c87453 /source/features.py | |
| parent | 2049c11d4f2f1b2bfa48c23b9eba6cb1babfc812 (diff) | |
fixed the custom greeting
Diffstat (limited to 'source/features.py')
| -rw-r--r-- | source/features.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/features.py b/source/features.py index 2d2d80e..b86cca5 100644 --- a/source/features.py +++ b/source/features.py @@ -3,7 +3,6 @@ import os import speech_recognition as sr from gpiozero import CPUTemperature import hardware_driver as lcd # importing the ./hardware_driver.py file -from main_cli import input_handling # some functions need to be put on a different thread but we are keeping that project for another time # import threading @@ -153,11 +152,11 @@ class feat: print("Error:", e) return None - def save_notes(self, input_handling): + def save_notes(self, input): self.clear_terminal_lcd() print("Type your notes (type 'stop' to exit):") while True: - note = input_handling(": ") + note = input if note.lower() in ["stop", "exit", "quit"]: break first_line = note[:16] |
