Merge pull request #13 from joshtews/dev

Strip Quotes from path variable to avoid creating broken path's
This commit is contained in:
Onyx and Iris 2024-06-20 17:03:43 +01:00 committed by GitHub
commit 8e56689a8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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 <code@onyxandiris.online>"]
license = "MIT"

View File

@ -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: