mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Fixed IndexError
This commit is contained in:
parent
960080a868
commit
ef39df068a
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ def main():
|
|||
try:
|
||||
argparse.check_for_flags(args[0])
|
||||
arguments[args[0]]()
|
||||
except KeyError:
|
||||
except (KeyError, IndexError):
|
||||
Usage().help(1)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue