summaryrefslogtreecommitdiff
path: root/blessings/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'blessings/__init__.py')
-rw-r--r--blessings/__init__.py2
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)