Browse Source

Update index.py

pull/18/head
James Mc Dermott 3 years ago
committed by GitHub
parent
commit
5fac356b0d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      scripts/index.py

+ 1
- 1
scripts/index.py View File

@@ -64,7 +64,7 @@ def opt_is_room(options, rooms, details, times):
else:
controls.lookup_room_control(g, c, details, times)

def booking_option(rooms details):
def booking_option(rooms, details):
c, g = rooms[0:2]
print("Booking requires more arguments. See the help for details.") if len(details) < 4 else controls.booking_control(c, g, details)
sys.exit()


Loading…
Cancel
Save