From aba6828bd578a08e93bf552db8b1bc0814cbaa31 Mon Sep 17 00:00:00 2001 From: Jake Demian Date: Wed, 12 Feb 2025 00:03:47 -0500 Subject: [PATCH] Fix issue with parsing the .bat in check_config_win.py The setup instruction and specific to `python3`, and the `ping_pong_win.bat` has the command `call python3`, however the `check_config_win.py` is checking for the string literal `"call python "` which will always evaluate to false due to the trailing space. --- native-messaging/check_config_win.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native-messaging/check_config_win.py b/native-messaging/check_config_win.py index d1d0ae3d..bf9e1b5b 100755 --- a/native-messaging/check_config_win.py +++ b/native-messaging/check_config_win.py @@ -45,7 +45,7 @@ py_lines = open(bat_path, 'r').readlines() py_path = None for line in py_lines: - if line.startswith('call python '): + if line.startswith('call python3 '): py_path = line[12:].replace('\\\\', '\\').strip() if not py_path: