From ecae31195e036746e95d603c92d76d0e77d4fe61 Mon Sep 17 00:00:00 2001 From: George Marchment <georgemarchment@yahoo.fr> Date: Mon, 11 Mar 2024 14:55:09 +0100 Subject: [PATCH] orrect bug --- src/bioflowinsighterror.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bioflowinsighterror.py b/src/bioflowinsighterror.py index df181ec..dd222bb 100644 --- a/src/bioflowinsighterror.py +++ b/src/bioflowinsighterror.py @@ -4,9 +4,9 @@ class BioFlowInsightError(Exception): self.origin = origin #TODO -> add message at the end if(origin!=None): - super().__init__(f"{'\033[91m'}[{num}] Error in the file '{self.origin.get_file_address()}': "+error+'\033[0m') + super().__init__(f"[{num}] Error in the file '{self.origin.get_file_address()}': "+error) else: - super().__init__(f"{'\033[91m'}[{num}] {error}{'\033[0m'}") + super().__init__(f"[{num}] {error}") #To handle the different type of errors; I'm gonna add numbers to the errors #Pair numbers if it's the users fault -- GitLab