1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-12-22 12:12:18 +01:00

csv_metadata_quality/app.py: Close files before exit

This commit is contained in:
Alan Orth 2019-08-04 09:10:19 +03:00
parent 264ce1d1df
commit 6d4ecd75aa
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -88,3 +88,7 @@ def run(argv):
# Write
df.to_csv(args.output_file, index=False)
# Close the input and output files before exiting
args.input_file.close()
args.output_file.close()