diff --git a/main.py b/main.py index c451625..04b79e0 100644 --- a/main.py +++ b/main.py @@ -62,13 +62,14 @@ class Api: bufsize=1, text=True, cwd=cwd, + encoding="utf-8", ) as p: for line in p.stdout: custom_event(line) window = webview.create_window("mower-ng launcher", "dist/index.html", js_api=Api()) -webview.start() +webview.start(debug=True) with config_path.open("w") as f: json.dump(config, f)