diff --git a/modtools/pedalboard.py b/modtools/pedalboard.py index 9be2f493..b8d9b7a9 100644 --- a/modtools/pedalboard.py +++ b/modtools/pedalboard.py @@ -559,7 +559,7 @@ def _take_screenshot(args): args = parser.parse_args() if hasattr(args, 'func'): args.func(args) - exit(0) + sys.exit(0) else: parser.print_usage()