Skip to content
Snippets Groups Projects
Commit 52547a36 authored by Millian Poquet's avatar Millian Poquet
Browse files

code: add room to ics event title

parent 48c65ef3
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ def course_df_to_ics(df):
c = ics.Calendar()
for _, row in df.iterrows():
event = ics.Event(
name = f'{row["module_readable"]} - {row["course_type"]} - {row["groups_parsed"]}',
name = f'{row["module_readable"]} - {row["course_type"]} - {row["groups_parsed"]} - {row["room_parsed"]}',
begin = row['start'].tz_localize(tz='Europe/Paris'),
end = row['end'].tz_localize(tz='Europe/Paris'),
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment