Skip to content

Commit

Permalink
fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Belissimo-T committed Mar 10, 2024
1 parent a2fab17 commit 4c6b589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/plan_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def update_forms(self):
def update_rooms(self):
self._logger.info("* Updating rooms...")

parsed_rooms: dict[str, dict] = {room: None for room in self.meta_extractor.rooms()}
parsed_rooms: dict[str, dict | None] = {room: None for room in self.meta_extractor.rooms()}
try:
room_parser = schools.room_parsers[str(self.school_number)]
except KeyError:
Expand Down

0 comments on commit 4c6b589

Please sign in to comment.