fixed dropped file handle when flushing closed output...
This commit is contained in:
parent
24d7f55f55
commit
3c2af8e7a6
|
@ -55,7 +55,7 @@ for file in files:
|
||||||
while outputAlive and table.data_read(): # read next data line of ASCII table
|
while outputAlive and table.data_read(): # read next data line of ASCII table
|
||||||
outputAlive = table.data_write() # output line
|
outputAlive = table.data_write() # output line
|
||||||
|
|
||||||
table.output_flush()
|
outputAlive and table.output_flush()
|
||||||
|
|
||||||
if file['name'] != 'STDIN':
|
if file['name'] != 'STDIN':
|
||||||
file['input'].close()
|
file['input'].close()
|
||||||
|
|
Loading…
Reference in New Issue