summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/pick/ui.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/pick/ui.py b/bin/pick/ui.py
index de9fafd8249..babb71cdc0d 100644
--- a/bin/pick/ui.py
+++ b/bin/pick/ui.py
@@ -43,9 +43,8 @@ PALETTE = [
class RootWidget(urwid.Frame):
- def __init__(self, *args, ui: 'UI' = None, **kwargs):
+ def __init__(self, *args, ui: 'UI', **kwargs):
super().__init__(*args, **kwargs)
- assert ui is not None
self.ui = ui
def keypress(self, size: int, key: str) -> typing.Optional[str]: