mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +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:
|
try:
|
||||||
argparse.check_for_flags(args[0])
|
argparse.check_for_flags(args[0])
|
||||||
arguments[args[0]]()
|
arguments[args[0]]()
|
||||||
except KeyError:
|
except (KeyError, IndexError):
|
||||||
Usage().help(1)
|
Usage().help(1)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue