diff options
-rw-r--r-- | blessings/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blessings/__init__.py b/blessings/__init__.py index 60995b7..99af01f 100644 --- a/blessings/__init__.py +++ b/blessings/__init__.py @@ -87,7 +87,7 @@ class Terminal(object): self.is_a_tty = (stream_descriptor is not None and os.isatty(stream_descriptor)) - self.does_styling = ((self.is_a_tty or force_styling) and + self._does_styling = ((self.is_a_tty or force_styling) and force_styling is not None) # The desciptor to direct terminal initialization sequences to. |