We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85bb78c commit f57fecbCopy full SHA for f57fecb
src/isal/igzip.py
@@ -282,8 +282,10 @@ def main():
282
break
283
out_file.write(block)
284
finally:
285
- in_file.close()
286
- out_file.close()
+ if in_file is not sys.stdin.buffer:
+ in_file.close()
287
+ if out_file is not sys.stdout.buffer:
288
+ out_file.close()
289
290
291
if __name__ == "__main__":
0 commit comments