aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--termcast.py2
-rw-r--r--vt100.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/termcast.py b/termcast.py
index 171980d..f94f5c7 100644
--- a/termcast.py
+++ b/termcast.py
@@ -15,7 +15,7 @@ class Handler(object):
term = ''
for i in range(0, 24):
for j in range(0, 80):
- term += self.vt.cell(i, j).contents.contents()
+ term += self.vt.cell(i, j).contents()
term += "\n"
return term[:-1]
diff --git a/vt100.py b/vt100.py
index db3509c..b6ec1a9 100644
--- a/vt100.py
+++ b/vt100.py
@@ -77,4 +77,4 @@ class vt100(object):
return vt100_process_string(self.vt, string, len(string))
def cell(self, x, y):
- return vt100_cell_at(self.vt, x, y)
+ return vt100_cell_at(self.vt, x, y).contents