Update main.py

This commit is contained in:
Karl0ss 2023-11-27 14:03:29 +00:00 committed by GitHub
parent 1cb6aeded5
commit 3d50f58a8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,8 +78,12 @@ exists = does_csv_exist()
if exists: if exists:
no_change = compare_dfs(df) no_change = compare_dfs(df)
if not no_change: if not no_change:
print("Fixtures updated, ical updated")
store_df_as_csv(df) store_df_as_csv(df)
create_ical_file(df, cal) create_ical_file(df, cal)
else:
print("Fixtured not updated, no update to ical")
else: else:
store_df_as_csv(df) store_df_as_csv(df)
create_ical_file(df, cal) create_ical_file(df, cal)
print("New ical file created")