Update main.py

correct table link
This commit is contained in:
Karl0ss 2024-02-16 11:25:19 +00:00 committed by GitHub
parent 3a8a032da4
commit 38f344b230
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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