Skip to content

Commit

Permalink
Update src/corppa/utils/filter.py
Browse files Browse the repository at this point in the history
Co-authored-by: Laure Thompson <[email protected]>
  • Loading branch information
rlskoeser and laurejt authored Apr 3, 2024
1 parent 452bf68 commit 7114db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corppa/utils/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7114db6

Please sign in to comment.