fix print message bug

fix print message bug
This commit is contained in:
onyx-and-iris 2022-06-17 09:55:33 +01:00
parent 5af9dcb834
commit 9cb5093cc9
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "voicemeeter-api" name = "voicemeeter-api"
version = "0.1.2" version = "0.1.6"
description = "A Python wrapper for the Voiceemeter API" description = "A Python wrapper for the Voiceemeter API"
authors = ["onyx-and-iris <code@onyxandiris.online>"] authors = ["onyx-and-iris <code@onyxandiris.online>"]
license = "MIT" license = "MIT"

View File

@ -263,9 +263,9 @@ class Remote(CBindings):
) )
try: try:
self.apply(self.configs[name]) self.apply(self.configs[name])
print(f"Profile '{name}' applied!")
except KeyError as e: except KeyError as e:
print(("\n").join(error_msg)) print(("\n").join(error_msg))
print(f"Profile '{name}' applied!")
def logout(self) -> NoReturn: def logout(self) -> NoReturn:
"""Wait for dirty parameters to clear, then logout of the API""" """Wait for dirty parameters to clear, then logout of the API"""