diff --git a/__init__.py b/__init__.py index 31987f9..b907437 100644 --- a/__init__.py +++ b/__init__.py @@ -198,7 +198,7 @@ class lcdMenu: # show a exit when there's no specific return value if not return_value: # if the return value is None / nothing was returned -> show a closing message - while self.ok_btn.value() == 1: time.sleep(self.debounce_time) # wait till ok_btn release (e.g. if the "program" is a simple send action) + while self.ok_btn.value() == 1: sleep(self.debounce_time) # wait till ok_btn release (e.g. if the "program" is a simple send action) self.lcd.move_to(0,0) if self.lcd.num_lines == 4: self.lcd.putstr(f"{self.fill_char*lw}{' '*lw*2}{self.fill_char*lw}") # fill the first and last line with 'fill_char's