Amélioration de l'affichage
This commit is contained in:
parent
9932819d56
commit
93011ac5ed
@ -59,7 +59,7 @@ def main() :
|
||||
if room["free"]:
|
||||
deltasec = room["occupied_at"].timestamp()-date.timestamp()
|
||||
print(" - " + room["name"]+" | occuppée dans : "+str(int(deltasec/60+0.5))+" minutes")
|
||||
print("Voici celles occupées : ")
|
||||
print("\nVoici celles occupées : \n")
|
||||
for room in available_rooms.values() :
|
||||
if room["name"] in favorites or len(favorites)==0:
|
||||
if not room["free"]:
|
||||
|
Loading…
Reference in New Issue
Block a user