diff --git a/rq/utils.py b/rq/utils.py index 940e622..2339a3f 100644 --- a/rq/utils.py +++ b/rq/utils.py @@ -73,7 +73,7 @@ class _Colorizer(object): return self.codes["reset"] def colorize(self, color_key, text): - if not sys.stdout.isatty() + if not sys.stdout.isatty(): return text else: return self.codes[color_key] + text + self.codes["reset"]