Browse Source

Update index.py

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

+ 2
- 2
scripts/index.py View File

@@ -86,7 +86,7 @@ def required():
return parser, (options, arguments), (c, g), (times, details)


def flow(options, parser, rooms, info):
def flow(options, rooms, info):
times, details = info[0:2]
if options.book and len(details) < 5:
booking_option(rooms, details)
@@ -97,7 +97,7 @@ def flow(options, parser, rooms, info):
def main():
parser, (options, arguments), rooms, info = required()
flow(options, parser, rooms, info)
flow(options, rooms, info)
parser.print_help()
if __name__ == '__main__':
main()


Loading…
Cancel
Save