Descent098 / ahd

Use of exit() or quit() detected PYL-R1722
Bug risk
Major
2 years ago2 years old
Consider using sys.exit()
168                    print(f"\tUpdated = {config['macros'][arguments['<name>']]['updated']}")
169                if config['macros'][arguments['<name>']].get("last_run", False):
170                    print(f"\tLast Run = {config['macros'][arguments['<name>']]['last_run']}")
171                exit()172            except KeyError:
173                ... # If the command is not registered, do nothing and let the dispatch spellchecker find it                
174        if not arguments['<paths>'] and not arguments['<command>']: