Skip to content
Snippets Groups Projects
Commit 034748fe authored by Felix Blanke's avatar Felix Blanke
Browse files

Fix bug that assigned time but not assigned room crashes

parent 2b9419ce
No related branches found
No related tags found
1 merge request!3Merge into fork's `main` branch
Pipeline #235708 failed
......@@ -288,6 +288,8 @@ def ak_requirements_changed_handler(sender, instance: AK, action: str, **kwargs)
for slot in slots_of_this_ak:
room = slot.room
if room is None:
continue
room_requirements = room.properties.all()
for requirement in instance.requirements.all():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment