Update parse_colles.py
Changed the organizer name to "Groupe N"
This commit is contained in:
parent
f4826aad0c
commit
bd29407bde
|
@ -109,7 +109,7 @@ def create_colloscope(groupe:int, timezone:str = "Europe/Paris"):
|
||||||
e.duration = ({'hours': 1});
|
e.duration = ({'hours': 1});
|
||||||
e.location = f"{room} - Saint-Louis"
|
e.location = f"{room} - Saint-Louis"
|
||||||
e.description = f"Professeur: {professor}\nSalle: {room}\nMatière : {matière}"
|
e.description = f"Professeur: {professor}\nSalle: {room}\nMatière : {matière}"
|
||||||
e.organizer = "Simon Lancelin"
|
e.organizer = f"Groupe {groupe}"
|
||||||
e.alarms = []
|
e.alarms = []
|
||||||
c.events.add(e)
|
c.events.add(e)
|
||||||
|
|
||||||
|
@ -121,4 +121,4 @@ def create_colloscope(groupe:int, timezone:str = "Europe/Paris"):
|
||||||
my_file.writelines(c)
|
my_file.writelines(c)
|
||||||
|
|
||||||
# Close the workbook
|
# Close the workbook
|
||||||
workbook.close()
|
workbook.close()
|
||||||
|
|
Loading…
Reference in New Issue