misc: fix undefined-loop-variable pylint error (#55505)
This commit is contained in:
parent
5115aa32c2
commit
b6952a21c5
|
@ -231,7 +231,7 @@ def get_all_slots(
|
|||
|
||||
# aggregate already booked time intervals for resources
|
||||
resources_bookings = IntervalSet()
|
||||
if agenda.kind == 'meetings' and resources:
|
||||
if base_agenda.kind == 'meetings' and resources:
|
||||
used_min_datetime, used_max_datetime = agenda_id_min_max_datetime[base_agenda.pk]
|
||||
event_ids_queryset = Event.resources.through.objects.filter(
|
||||
resource__in=[r.pk for r in resources]
|
||||
|
|
Loading…
Reference in New Issue