diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-05-11 15:17:16 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-05-11 15:17:16 +0200 |
commit | 14a14bb4acf122f339b0a8c40268bd81bcecf005 (patch) | |
tree | 1be2e08976adf1c82c563839dd2abe7e54938223 /alot | |
parent | b9b1b1b8f3410b8023cb3898bfc0f2adbb4f41b0 (diff) |
UI: drop always-true function argument
Diffstat (limited to 'alot')
-rw-r--r-- | alot/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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): |