Set for production

This commit is contained in:
Dimitris Zlatanidis 2024-04-15 12:21:14 +03:00
parent 6e1bc0c921
commit 6fedf91948

View file

@ -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__':