diff options
Diffstat (limited to 'color.py')
| -rw-r--r-- | color.py | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -100,6 +100,9 @@ class Coloring(object): | |||
| 100 | else: | 100 | else: |
| 101 | self._on = False | 101 | self._on = False |
| 102 | 102 | ||
| 103 | def redirect(self, out): | ||
| 104 | self._out = out | ||
| 105 | |||
| 103 | @property | 106 | @property |
| 104 | def is_on(self): | 107 | def is_on(self): |
| 105 | return self._on | 108 | return self._on |
