Modification d'une tabulation

This commit is contained in:
Antoine Waehren 2022-02-24 18:53:50 +01:00
parent 018fbd6bbd
commit 750f355699
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ def used_rooms_get(datet) :
ev_dend = comp.decoded("dtend")
roomname = str(comp.get("location"))
if not roomname in total_rooms:
total_rooms.append(roomname)
total_rooms.append(roomname)
if ev_dstart.timestamp() <= datet.timestamp() and ev_dend.timestamp() > datet.timestamp() :
if not roomname in used_rooms :
used_rooms.append(roomname)