From 14a14bb4acf122f339b0a8c40268bd81bcecf005 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 11 May 2022 15:17:16 +0200 Subject: UI: drop always-true function argument --- alot/ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alot/ui.py b/alot/ui.py index de1ca0ce..ae455f8e 100644 --- a/alot/ui.py +++ b/alot/ui.py @@ -725,7 +725,7 @@ class UI: self.mainloop.set_alarm_in(timeout, clear) return msg - def update(self, redraw=True): + def update(self): """redraw interface""" # get the main urwid.Frame widget mainframe = self.root_widget.original_widget @@ -737,7 +737,7 @@ class UI: self._update_statusbar() # force a screen redraw - if self.mainloop.screen.started and redraw: + if self.mainloop.screen.started: self.mainloop.draw_screen() def _update_statusbar(self): -- cgit v1.2.3