From ea4626b8645635076bea16b2925c86175acc4f8e Mon Sep 17 00:00:00 2001 From: Joshua Tews Date: Tue, 18 Jun 2024 10:15:17 -0700 Subject: [PATCH] Update inst.py Strip Quotes from path variable to avoid creating broken path's when calling .parent --- voicemeeterlib/inst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voicemeeterlib/inst.py b/voicemeeterlib/inst.py index 9a29dda..dc007c6 100644 --- a/voicemeeterlib/inst.py +++ b/voicemeeterlib/inst.py @@ -31,7 +31,7 @@ def get_vmpath(): with winreg.OpenKey( winreg.HKEY_LOCAL_MACHINE, r"{}".format("\\".join((REG_KEY, VM_KEY))) ) as vm_key: - return winreg.QueryValueEx(vm_key, r"UninstallString")[0] + return winreg.QueryValueEx(vm_key, r"UninstallString")[0].strip("\"") try: