fixed dropped file handle when flushing closed output...

This commit is contained in:
Philip Eisenlohr 2014-01-29 21:16:44 +00:00
parent 24d7f55f55
commit 3c2af8e7a6
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ for file in files:
while outputAlive and table.data_read(): # read next data line of ASCII table
outputAlive = table.data_write() # output line
table.output_flush()
outputAlive and table.output_flush()
if file['name'] != 'STDIN':
file['input'].close()