From d849ed3a15cf15aa68c554c7b0988bbb53876983 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:41 +0100 Subject: [PATCH] Update base.py fix print message bug --- vban_cmd/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vban_cmd/base.py b/vban_cmd/base.py index e59724d..bd208b1 100644 --- a/vban_cmd/base.py +++ b/vban_cmd/base.py @@ -258,9 +258,9 @@ class VbanCmd(metaclass=ABCMeta): ) 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): self.running = False