Skip to content

Commit

Permalink
adjust publisher_coverage.py to GH:612
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxDall committed Sep 13, 2024
1 parent b094562 commit 5da5f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publisher_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def main() -> None:
f"❌ FAILED: {publisher_name!r} - No complete articles received "
f"(URL of an incomplete article: {incomplete_article.html.requested_url}) with attributes:\n"
f"title: {incomplete_article.title is not None}\n"
f"plaintext: {incomplete_article.plaintext is not None}\n"
f"plaintext: {bool(incomplete_article.body)}\n"
f"publishing_date: {incomplete_article.publishing_date is not None}\n"
f"authors: {incomplete_article.authors is not None and not len(incomplete_article.authors) == 0}\n"
f"topics: {incomplete_article.topics is not None and not len(incomplete_article.topics) == 0}\n"
Expand Down

0 comments on commit 5da5f0c

Please sign in to comment.