From 62da6b0f90ffff1ba8b89f231775a68cb2945ec3 Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Fri, 15 Feb 2019 17:07:35 +1100 Subject: [PATCH] Add missing dot in csv extension --- waternsw_grabber/waternsw_grabber.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waternsw_grabber/waternsw_grabber.py b/waternsw_grabber/waternsw_grabber.py index c135f01..ecc1073 100644 --- a/waternsw_grabber/waternsw_grabber.py +++ b/waternsw_grabber/waternsw_grabber.py @@ -307,7 +307,7 @@ def extract_records(input_dir, output_dir): ]] # Get csv name from zip archive - csv_name = os.path.join(output_dir, zip_name.replace('.zip', 'csv')) + csv_name = os.path.join(output_dir, zip_name.replace('.zip', '.csv')) # Export to csv df.to_csv(csv_name, float_format='%0.3f')