Skip to content

Commit

Permalink
Update scripts/hhs_doi_cli.py
Browse files Browse the repository at this point in the history
Co-authored-by: Quang Nguyen <nguyenvanquang247@gmail.com>
  • Loading branch information
joshlawrimore and quang-ng authored Nov 29, 2024
1 parent d45e5ee commit 48ee376
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/hhs_doi_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ def extract_pdf_metadata(
FileExistsError
If `new_run` is True and the output CSV file already exists.
"""
if pdf2doi_verbose:
pdf2doi_config.set("verbose", True)
else:
pdf2doi_config.set("verbose", False)
pdf2doi_config.set("verbose", pdf2doi_verbose)

output_exists: bool = output_csv.exists()

Expand Down

0 comments on commit 48ee376

Please sign in to comment.