From d3efa035bb32f6602a5f10cb1c9c2f2bf62fb629 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Mon, 3 Mar 2014 14:21:31 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20m/lo?= =?UTF-8?q?g.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- m/log.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/m/log.py b/m/log.py index 296bfd3..66951e4 100644 --- a/m/log.py +++ b/m/log.py @@ -37,13 +37,13 @@ class Log(object): if pLvl == 10 : pMsg = bcolors.DEBUG + pMsg + bcolors.ENDC elif pLvl == 20 : - sys.stdout.write(bcolors.INFO) + pMsg = bcolors.DEBUG + pMsg + bcolors.ENDC elif pLvl == 25 : - sys.stdout.write(bcolors.SUCCESS) + pMsg = bcolors.DEBUG + pMsg + bcolors.ENDC elif pLvl == 30 : - sys.stdout.write(bcolors.WARNING) + pMsg = bcolors.DEBUG + pMsg + bcolors.ENDC elif pLvl == 40 : - sys.stdout.write(bcolors.FAIL) + pMsg = bcolors.DEBUG + pMsg + bcolors.ENDC self.logger.log(pLvl,pMsg)