Skip to content

Commit cc5658d

Browse files
committed
bug(fix): remove shell quote for windows paths
1 parent b30252b commit cc5658d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

IDCBrowser/IDCHandlerModule.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,12 +250,10 @@ def registerCustomProtocol(self):
250250

251251
# Construct the path to PythonSlicer.exe in the same directory
252252

253-
python_path = shlex.quote(os.path.join(python_dir, "PythonSlicer.exe"))
253+
python_path = os.path.join(python_dir, "PythonSlicer.exe")
254254

255255
current_dir = os.path.dirname(os.path.realpath(__file__))
256-
python_script_path = shlex.quote(
257-
os.path.join(current_dir, "Resources", "resolver.py")
258-
)
256+
python_script_path = os.path.join(current_dir, "Resources", "resolver.py")
259257

260258
# Register IDC Browser URL protocol in Windows Registry
261259

0 commit comments

Comments
 (0)