Fix log color

This commit is contained in:
VirtuBox
2019-09-05 12:01:33 +02:00
parent 2e151cc74b
commit eb8aa1bd4e

View File

@@ -59,7 +59,7 @@ class WOService():
retcode = subprocess.getstatusoutput('service {0} stop'
.format(service_name))
if retcode[0] == 0:
Log.info(self, "[" + Log.ENDC + Log.GREEN + "OK" +
Log.info(self, "[" + Log.ENDC + Log.OKGREEN + "OK" +
Log.ENDC + Log.OKBLUE + "]")
return True
else: