Skip to content

Commit

Permalink
update: standardized error logs closes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
joswha committed Jul 31, 2023
1 parent 782e971 commit 4f3ece8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 112 deletions.
2 changes: 1 addition & 1 deletion scrapers/tob_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def extract_finding(pdf_name):
try:
text = text.split("Detailed Findings")[2]
except IndexError:
with open("tob_parser_errors.txt", "a") as f:
with open("errors.txt", "a") as f:
f.write(pdf_name + "\n")
return

Expand Down
111 changes: 0 additions & 111 deletions scrapers/tob_parser_errors.txt

This file was deleted.

0 comments on commit 4f3ece8

Please sign in to comment.