Skip to content

Commit 8201e35

Browse files
committed
[DEV-13727] Set row_count to 0 by default
1 parent 68cfa7c commit 8201e35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

usaspending_api/common/helpers/download_csv_strategies.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def download_to_csv(
8989
) -> CSVDownloadMetadata:
9090
start_time = time.perf_counter()
9191
self._logger.info(f"Downloading data to {destination_path}")
92+
row_count = 0
9293
temp_data_file_name = destination_path.parent / (
9394
destination_path.name + "_temp"
9495
)

0 commit comments

Comments
 (0)