dont stop when reserve success
This commit is contained in:
parent
7c2a8eaa25
commit
73835865ae
1 changed files with 4 additions and 1 deletions
5
main.py
5
main.py
|
|
@ -54,7 +54,10 @@ def main():
|
|||
resource_id = seat_id
|
||||
reservation_success = booking.reserve(resource_id, start, end)
|
||||
if reservation_success:
|
||||
return True
|
||||
print("✅ Reservation success for %d" % resource_id)
|
||||
# return True
|
||||
else:
|
||||
print("❌ Reservation failure for %d" % resource_id)
|
||||
|
||||
# if RESOURCE_ID:
|
||||
# resource_id = RESOURCE_ID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue