From eb6c0f2bddee49907a04e9d78cbb24598a190c23 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 14 Jul 2025 13:49:08 -0500 Subject: Fix linting issues. --- uploader/publications/pubmed.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'uploader/publications/pubmed.py') diff --git a/uploader/publications/pubmed.py b/uploader/publications/pubmed.py index e8b0584..2531c4a 100644 --- a/uploader/publications/pubmed.py +++ b/uploader/publications/pubmed.py @@ -29,9 +29,7 @@ def __journal__(journal: etree.Element) -> dict: } def __author__(author: etree.Element) -> str: - return "%s %s" % ( - author.find("LastName").text, - author.find("Initials").text) + return f'{author.find("LastName").text} {author.find("Initials").text}' def __pages__(pagination: etree.Element) -> str: -- cgit v1.2.3