From 1c57e3ee4490c37cacb9c11868b44d0a58cb6bbe Mon Sep 17 00:00:00 2001 From: Jan Danielzick Date: Sun, 16 Jun 2024 03:26:14 +0200 Subject: [PATCH] forgot to close() a file - still no guarantees this works --- csv_to_json.py | 1 + 1 file changed, 1 insertion(+) diff --git a/csv_to_json.py b/csv_to_json.py index 016112b..4d1af4b 100644 --- a/csv_to_json.py +++ b/csv_to_json.py @@ -97,3 +97,4 @@ infileobject.close() outfileobject = open(outfile, "w"); outfileobject.write(json.dumps(rows)) +outfileobject.close()