Skip to content

Commit

Permalink
Merge branch 'main' into renovate/all-minor-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm authored Dec 21, 2023
2 parents 0f59eea + 5d91046 commit 3ea27e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions data/external/models/nat.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ class Room(PydanticConfiguration):
room_identifier: str | None
campus_id: str | None
building_code: str
events_end: str | None # no idea what this is...
events_start: str | None # no idea what this is...
org_id: int | None = None

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion data/external/scrapers/nat.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def _download_and_merge_room(base):
if not downloaded_file:
return None
content = json.loads(downloaded_file.read_text(encoding="utf-8"))
for useless_key in ["events_end","events_start"]:
for useless_key in ["events_end", "events_start"]:
if useless_key in content:
del content[useless_key]
content["area"] = float(content["area"])
Expand Down

0 comments on commit 3ea27e8

Please sign in to comment.