From 5f64e941d867b2c7c3126aa43a0fd5b730bdbc33 Mon Sep 17 00:00:00 2001 From: Pavel Date: Sun, 17 May 2026 03:36:48 +0200 Subject: [PATCH] update picker to work with current version of pywebview --- lib/picker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/picker.py b/lib/picker.py index eebe18f..e86e42f 100755 --- a/lib/picker.py +++ b/lib/picker.py @@ -43,6 +43,7 @@ def closeWindow(self, to_print=False): if to_print: print(resp) window.destroy() + sys.exit() def error(self): raise Exception('This is a Python exception') @@ -79,5 +80,4 @@ def get_file(): height=450, easy_drag = False, resizable=False) - window.closing += on_closing webview.start(http_server=True)