浏览代码

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)


正在加载...
取消
保存