Skip to content
Snippets Groups Projects

Resolve "[Hotfix]: Overriding occupancy does not return string but Occupancy object"

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -49,7 +49,7 @@ class OccupancyRule:
# If any of the `overriding_occupancies` is in the list, return that one.
for occ in occupancies:
if occ in self.overriding_occupancies:
return {"occupancy": occ}
return {"occupancy": occ.occupancy_string}
# Rule two tags; same level 1
# If there is one unique level 0 and one unique level 1 (which implies that the
Loading