From c2b5e95903053d084ce9208a2e96226e9f5feebd Mon Sep 17 00:00:00 2001 From: Mia Herkt Date: Wed, 29 Mar 2023 07:49:56 +0200 Subject: [PATCH] ModUI: Handle opening filter panel with NULL user agent --- mod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.py b/mod.py index 4dc7107..0748a42 100755 --- a/mod.py +++ b/mod.py @@ -61,7 +61,7 @@ class NullptrMod(Screen): case 2: finput.value = self.current_file.addr case 3: finput.value = self.current_file.mime case 4: finput.value = self.current_file.ext - case 5: finput.value = self.current_file.ua + case 5: finput.value = self.current_file.ua or "" def on_input_submitted(self, message: Input.Submitted) -> None: self.query_one("#filter_container").display = False