From 872c78a5b90e915345f62f20cc44a71e072aee10 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 18 Apr 2011 12:39:20 -0400 Subject: [PATCH] no need to init colorama --- clint/textui/colored.py | 1 - 1 file changed, 1 deletion(-) diff --git a/clint/textui/colored.py b/clint/textui/colored.py index 1091f0d..291b19a 100644 --- a/clint/textui/colored.py +++ b/clint/textui/colored.py @@ -39,7 +39,6 @@ class ColoredString(object): @property def color_str(self): if sys.stdout.isatty() and not DISABLE_COLOR: - colorama.init(autoreset=True) return '%s%s%s' % ( getattr(colorama.Fore, self.color), self.s, colorama.Fore.RESET) else: