From 9cb5093cc98d130edde54757b05e579eaa7f9d78 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Fri, 17 Jun 2022 09:55:33 +0100 Subject: [PATCH] fix print message bug fix print message bug --- pyproject.toml | 2 +- voicemeeterlib/base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2efa8e7..9e6c335 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "voicemeeter-api" -version = "0.1.2" +version = "0.1.6" description = "A Python wrapper for the Voiceemeter API" authors = ["onyx-and-iris "] license = "MIT" diff --git a/voicemeeterlib/base.py b/voicemeeterlib/base.py index 630933e..a7b553f 100644 --- a/voicemeeterlib/base.py +++ b/voicemeeterlib/base.py @@ -263,9 +263,9 @@ class Remote(CBindings): ) try: self.apply(self.configs[name]) + print(f"Profile '{name}' applied!") except KeyError as e: print(("\n").join(error_msg)) - print(f"Profile '{name}' applied!") def logout(self) -> NoReturn: """Wait for dirty parameters to clear, then logout of the API"""