diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-09-14 20:54:04 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-09-14 20:54:04 -0400 |
commit | 14b364588be59a89facc939a9d0060f8aa2cdaa1 (patch) | |
tree | 32c593961231e003c074e39aad86e15a37933159 | |
parent | 375d514870d6999dc47c768084a26f20bf0bc7aa (diff) | |
download | python-termcast-server-14b364588be59a89facc939a9d0060f8aa2cdaa1.tar.gz python-termcast-server-14b364588be59a89facc939a9d0060f8aa2cdaa1.zip |
dereference this pointer automatically
-rw-r--r-- | termcast.py | 2 | ||||
-rw-r--r-- | vt100.py | 2 |
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] @@ -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 |