dont stop when reserve success

This commit is contained in:
i 2026-02-10 14:03:18 +01:00
parent 7c2a8eaa25
commit 73835865ae

View file

@ -54,7 +54,10 @@ def main():
resource_id = seat_id resource_id = seat_id
reservation_success = booking.reserve(resource_id, start, end) reservation_success = booking.reserve(resource_id, start, end)
if reservation_success: 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: # if RESOURCE_ID:
# resource_id = RESOURCE_ID # resource_id = RESOURCE_ID