mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Set for production
This commit is contained in:
parent
6e1bc0c921
commit
6fedf91948
1 changed files with 6 additions and 7 deletions
|
@ -741,14 +741,13 @@ def main() -> None:
|
|||
'tracking': menu.tracking,
|
||||
'-t': menu.tracking
|
||||
}
|
||||
arguments[args[0]]()
|
||||
|
||||
# try:
|
||||
# arguments[args[0]]()
|
||||
# except (KeyError, IndexError):
|
||||
# usage.help_short(1)
|
||||
# except KeyboardInterrupt:
|
||||
# raise SystemExit(1)
|
||||
try:
|
||||
arguments[args[0]]()
|
||||
except (KeyError, IndexError):
|
||||
usage.help_short(1)
|
||||
except KeyboardInterrupt:
|
||||
raise SystemExit(1)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in a new issue