1
0
miroir de https://github.com/karl0ss/downgrangefixtures_ical.git synchronisé 2025-11-22 09:48:12 +00:00

Update main.py

Cette révision appartient à :
Karl0ss 2024-02-19 11:32:28 +00:00 révisé par GitHub
Parent f06c0dcd22
révision 03c45e2f1f
Signature inconnue de Gitea
ID de la clé GPG: B5690EEEBB952194

Voir le fichier

@ -110,7 +110,7 @@ def create_ical_file(df:pd.DataFrame, cal:Calendar, table:pd.DataFrame)->None:
notes = 'No Match Notes' notes = 'No Match Notes'
elif notes == 'Postponed': elif notes == 'Postponed':
continue continue
event.add('description', "Arrive by - " + str(arrival_time) + "\n" + notes + "\nTable -\n" + "https://fulltime.thefa.com/table.html?selectedSeason=19010414&selectedDivision=165601607") event.add('description', "Arrive by - " + str(arrival_time) + "\n" + notes + "\nTable -\n" + "https://fulltime.thefa.com/index.html?league=9268728&selectedSeason=19010414&selectedDivision=165601607&selectedCompetition=0&selectedFixtureGroupKey=1_579285719")
event.add('dtstart', start_date_time) event.add('dtstart', start_date_time)
# End 2 hours after start_date_time # End 2 hours after start_date_time
event.add('dtend', start_date_time + timedelta(hours=2)) event.add('dtend', start_date_time + timedelta(hours=2))