From 00589c266eb6fc048b6ae7d00a72303876d2b247 Mon Sep 17 00:00:00 2001 From: nasrlol Date: Mon, 9 Dec 2024 21:37:55 +0100 Subject: fixed the custom greeting --- source/features.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/features.py') 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] -- cgit v1.2.3-70-g09d2