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')