aboutsummaryrefslogtreecommitdiff
path: root/mlog.py
diff options
context:
space:
mode:
Diffstat (limited to 'mlog.py')
-rw-r--r--mlog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlog.py b/mlog.py
index 5cac222..8af8f7c 100644
--- a/mlog.py
+++ b/mlog.py
@@ -29,11 +29,11 @@ def initialize(logdir):
class AnsiDecorator():
plain_code = "\033[0m"
-
+
def __init__(self, text, code):
self.text = text
self.code = code
-
+
def get_text(self, with_codes):
if with_codes:
return self.code + self.text + AnsiDecorator.plain_code