summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-05-11 15:17:16 +0200
committerAnton Khirnov <anton@khirnov.net>2022-05-11 15:17:16 +0200
commit14a14bb4acf122f339b0a8c40268bd81bcecf005 (patch)
tree1be2e08976adf1c82c563839dd2abe7e54938223
parentb9b1b1b8f3410b8023cb3898bfc0f2adbb4f41b0 (diff)
UI: drop always-true function argument
-rw-r--r--alot/ui.py4
1 files 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):