Update base.py

fix print message bug
This commit is contained in:
onyx-and-iris 2022-06-17 09:55:41 +01:00
parent e28459d50b
commit d849ed3a15

View File

@ -258,9 +258,9 @@ class VbanCmd(metaclass=ABCMeta):
) )
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): def logout(self):
self.running = False self.running = False