Updated for message

This commit is contained in:
Dimitris Zlatanidis 2023-05-05 22:37:51 +03:00
parent c156263967
commit a375d07cc7

View file

@ -12,5 +12,5 @@ class Errors(Configs):
def raise_error_message(self, message: str, exit_status: int) -> None:
""" A general method to raise an error message and exit. """
print(f"\n{self.prog_name}: {self.bred}Error{self.endc}: {message}.\n")
print(f"\n{self.prog_name}: {self.bred}Error{self.endc}: {message}\n")
raise SystemExit(exit_status)