From 121afb44b88040e14f4c0978cf615d61ce83a4db Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Fri, 6 Nov 2020 16:11:53 +0000 Subject: [PATCH] Added newline symbols --- openflexure_microscope/rescue/error_sources.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openflexure_microscope/rescue/error_sources.py b/openflexure_microscope/rescue/error_sources.py index 49f36826..8f7f7697 100644 --- a/openflexure_microscope/rescue/error_sources.py +++ b/openflexure_microscope/rescue/error_sources.py @@ -24,10 +24,10 @@ class Source: class WarningSource(Source): @property def message(self): - return bcolors.WARNING + self._message + bcolors.ENDC + return "[!] " + bcolors.WARNING + self._message + bcolors.ENDC class ErrorSource(Source): @property def message(self): - return bcolors.FAIL + self._message + bcolors.ENDC + return "[X] " + bcolors.FAIL + self._message + bcolors.ENDC