From 7114db6be5bf1cd452fafd8487e49ac19a88c9bf Mon Sep 17 00:00:00 2001 From: Rebecca Sutton Koeser Date: Wed, 3 Apr 2024 16:39:35 -0400 Subject: [PATCH] Update src/corppa/utils/filter.py Co-authored-by: Laure Thompson <602628+laurejt@users.noreply.github.com> --- src/corppa/utils/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corppa/utils/filter.py b/src/corppa/utils/filter.py index e8208e5..751bfaf 100644 --- a/src/corppa/utils/filter.py +++ b/src/corppa/utils/filter.py @@ -125,7 +125,7 @@ def main(): if not os.path.exists(args.idfile): print(f"Error: idfile {args.idfile} does not exist") - exit(-1) + sys.exit(-1) elif os.path.getsize(args.idfile) == 0: print(f"Error: idfile {args.idfile} is empty") exit(-1)