瀏覽代碼

Update index.py

pull/18/head
James Mc Dermott 3 年之前
committed by GitHub
父節點
當前提交
8535ed079d
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      scripts/index.py

+ 3
- 3
scripts/index.py 查看文件

@@ -85,9 +85,9 @@ def required():

def main():
parser, (options, arguments), times, c, g, details = required()
booking_option(c, g, details) if options.book else print("")
print("Too many arguments passed.") if len(details < 4) else print("")
if options.lookup:
if options.book and len(details) < 5:
booking_option(c, g, details)
elif options.lookup:
lookup_option(options, (c, g), details, times)
elif options.now:
now_option(options, c, g, times)


Loading…
取消
儲存