From 78b90283bf98608119a65956525e0b002b5427dd Mon Sep 17 00:00:00 2001 From: dcjohnson24 Date: Mon, 12 Feb 2024 11:19:04 -0600 Subject: [PATCH] Add return a value in main function --- data_analysis/ridership_to_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_analysis/ridership_to_json.py b/data_analysis/ridership_to_json.py index 9ed894d..ee84535 100644 --- a/data_analysis/ridership_to_json.py +++ b/data_analysis/ridership_to_json.py @@ -138,7 +138,7 @@ def main(month: int = None, year: int = None, save: bool = True) -> None: 'jyb9-n7fm/rows.csv?accessType=DOWNLOAD' ) print("Done!") - ridership_to_json(ridership_df=ridership_df, month=month, year=year, save=save) + return ridership_to_json(ridership_df=ridership_df, month=month, year=year, save=save) if __name__ == '__main__':