diff options
author | jquast <contact@jeffquast.com> | 2013-09-07 22:36:54 -0400 |
---|---|---|
committer | jquast <contact@jeffquast.com> | 2013-09-07 22:36:54 -0400 |
commit | 9068e52c388014d805c9b20aacb57b1af7491858 (patch) | |
tree | 818344ee23f4f9934f00ef53bd0a0278feb97c55 | |
parent | 52fb650d3cd1251c161f3c784fc9e2a23efe6b9c (diff) | |
download | blessings-9068e52c388014d805c9b20aacb57b1af7491858.tar.gz |
is_a_tty property assignment fix -> _is_a_tty
-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 bb2af9b..673fa26 100644 --- a/blessings/__init__.py +++ b/blessings/__init__.py @@ -84,7 +84,7 @@ class Terminal(object): except IOUnsupportedOperation: stream_descriptor = None - self.is_a_tty = (stream_descriptor is not None and + 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 force_styling is not None) |