From b170d8a15aa096792a23bb127d4f1e0dbee40e60 Mon Sep 17 00:00:00 2001 From: sexfrance Date: Sun, 27 Oct 2024 17:57:27 +0100 Subject: [PATCH] Removed extra space in debug, question and info --- logmagix/logger.py | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/logmagix/logger.py b/logmagix/logger.py index f6feab7..4867979 100644 --- a/logmagix/logger.py +++ b/logmagix/logger.py @@ -51,16 +51,16 @@ def message2(self, level: str, message: str, start: int = None, end: int = None) def question(self, message: str, start: int = None, end: int = None) -> None: time = self.get_time() - i = input(f"{self.prefix}[{self.MAGENTAA}{time}{self.PINK}] {Fore.RESET} {self.PINK}[{Fore.BLUE}?{self.PINK}] -> {Fore.RESET} {self.CYAN}{message}{Fore.RESET}") + i = input(f"{self.prefix}[{self.MAGENTAA}{time}{self.PINK}]{Fore.RESET} {self.PINK}[{Fore.BLUE}?{self.PINK}] -> {Fore.RESET} {self.CYAN}{message}{Fore.RESET}") return i def info(self, message: str, start: int = None, end: int = None) -> None: time = self.get_time() - print(f"{self.prefix}[{self.MAGENTAA}{time}{self.PINK}] {Fore.RESET} {self.PINK}[{Fore.BLUE}!{self.PINK}] -> {Fore.RESET} {self.CYAN}{message}{Fore.RESET}") + print(f"{self.prefix}[{self.MAGENTAA}{time}{self.PINK}]{Fore.RESET} {self.PINK}[{Fore.BLUE}!{self.PINK}] -> {Fore.RESET} {self.CYAN}{message}{Fore.RESET}") def debug(self, message: str, start: int = None, end: int = None) -> None: time = self.get_time() - print(f"{self.prefix}[{self.MAGENTAA}{time}{self.PINK}] {Fore.RESET} {self.PINK}[{Fore.YELLOW}DEBUG{self.PINK}] -> {Fore.RESET} {self.GREEN}{message}{Fore.RESET}") + print(f"{self.prefix}[{self.MAGENTAA}{time}{self.PINK}]{Fore.RESET} {self.PINK}[{Fore.YELLOW}DEBUG{self.PINK}] -> {Fore.RESET} {self.GREEN}{message}{Fore.RESET}") log = Logger() diff --git a/setup.py b/setup.py index 88c0e4d..f993430 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="logmagix", - version="1.0.8", + version="1.0.9", packages=find_packages(), install_requires=["colorama"], author="Sexfrance",