From ea4626b8645635076bea16b2925c86175acc4f8e Mon Sep 17 00:00:00 2001 From: Joshua Tews Date: Tue, 18 Jun 2024 10:15:17 -0700 Subject: [PATCH 1/3] 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: From dcc0fc5ccc88101709c989fc1060c5aa21962d00 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 20 Jun 2024 17:01:25 +0100 Subject: [PATCH 2/3] run file through black --- voicemeeterlib/inst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voicemeeterlib/inst.py b/voicemeeterlib/inst.py index dc007c6..7eb7ca3 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].strip("\"") + return winreg.QueryValueEx(vm_key, r"UninstallString")[0].strip('"') try: From 43cb7df5acbf28a1b6cc34ab9b4312728321b744 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 20 Jun 2024 17:01:48 +0100 Subject: [PATCH 3/3] patch bump --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ca39ad6..063ec67 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "voicemeeter-api" -version = "2.5.3" +version = "2.5.4" description = "A Python wrapper for the Voiceemeter API" authors = ["onyx-and-iris "] license = "MIT"