This commit is contained in:
theo@manjaro 2022-02-24 19:29:28 +01:00
commit 8d69bd9e28
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,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)