2052man commited on
Commit
c8d40c4
1 Parent(s): a26e64b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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) >= 6:
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) >= 3:
34
  return False
35
  elif system_selected in bookings['System'].values:
36
  return False