modified: parse_salles.py

This commit is contained in:
Antonin 2024-12-15 22:39:09 +01:00
parent 797514f712
commit 250ccebaf4
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ def create_edt(heure:int, semestre:int, day:str) -> list[(int, str, int)]:
except Exception as e: except Exception as e:
print(f"Error: {e}") print(f"Error: {e}")
return coordinates
def isEmptyRoom(val:str) -> bool: def isEmptyRoom(val:str) -> bool:
return (val is None or ("0" not in val and "O" not in val and "S1" not in val)) return (val is None or ("0" not in val and "O" not in val and "S1" not in val))