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 7114db6 commit 434d7a3
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 @@ -128,7 +128,7 @@ def main():
sys.exit(-1)
elif os.path.getsize(args.idfile) == 0:
print(f"Error: idfile {args.idfile} is empty")
exit(-1)
sys.exit(-1)

# if requested output filename has no extension, add jsonl
output_filename = args.output
Expand Down

0 comments on commit 434d7a3

Please sign in to comment.