Skip to content

Commit

Permalink
Add return a value in main function
Browse files Browse the repository at this point in the history
  • Loading branch information
dcjohnson24 committed Feb 12, 2024
1 parent 8eeb097 commit 78b9028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_analysis/ridership_to_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__':
Expand Down

0 comments on commit 78b9028

Please sign in to comment.