Compare commits
3 Commits
1d1b9d7b5d
...
9d26f7bccc
Author | SHA1 | Date | |
---|---|---|---|
9d26f7bccc | |||
df10bb9b2a | |||
11c86c947f |
2
app.py
2
app.py
@ -243,7 +243,7 @@ def free_rooms() :
|
||||
if time_uf_sav != "None" :
|
||||
nofavslink += "time=" + time_uf_sav
|
||||
# Suppression de l'éventuel '&' en trop :
|
||||
if nofavslink[:-1] == "&" :
|
||||
if nofavslink[-1] == "&" :
|
||||
nofavslink = nofavslink[:-1]
|
||||
|
||||
# Tri des salles selon leurs catégories :
|
||||
|
@ -90,4 +90,4 @@ class Dept :
|
||||
self.rooms = rooms
|
||||
|
||||
def genlink(self,link):
|
||||
return "https://adecons.unistra.fr/jsp/custom/modules/plannings/anonymous_cal.jsp?resources="+link.strip()+"&projectId=8&calType=ical"
|
||||
return "https://adecons.unistra.fr/jsp/custom/modules/plannings/anonymous_cal.jsp?resources="+link.strip()+"&projectId=5&calType=ical"
|
||||
|
Loading…
x
Reference in New Issue
Block a user