now works with piped STDOUT | STDIN constructs.
This commit is contained in:
parent
ae8ec80dd0
commit
c24f258eba
|
@ -77,7 +77,10 @@ class ASCIItable():
|
||||||
self.labels = firstline.split()
|
self.labels = firstline.split()
|
||||||
self.headerLen = 1
|
self.headerLen = 1
|
||||||
self.__IO__['validReadSize'] = len(self.labels)
|
self.__IO__['validReadSize'] = len(self.labels)
|
||||||
|
try:
|
||||||
self.__IO__['dataStart'] = self.__IO__['in'].tell()
|
self.__IO__['dataStart'] = self.__IO__['in'].tell()
|
||||||
|
except IOError:
|
||||||
|
pass
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
def head_write(self):
|
def head_write(self):
|
||||||
|
|
Loading…
Reference in New Issue