Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def has_system_availability(schedule_data, class_selected, day_selected, start_t
|
|
30 |
(schedule_data['Day'] == day_selected) &
|
31 |
(schedule_data['Start Time'] == start_time_selected)
|
32 |
]
|
33 |
-
if len(bookings) >=
|
34 |
return False
|
35 |
elif system_selected in bookings['System'].values:
|
36 |
return False
|
|
|
30 |
(schedule_data['Day'] == day_selected) &
|
31 |
(schedule_data['Start Time'] == start_time_selected)
|
32 |
]
|
33 |
+
if len(bookings) >= 6:
|
34 |
return False
|
35 |
elif system_selected in bookings['System'].values:
|
36 |
return False
|