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