aboutsummaryrefslogtreecommitdiff
path: root/uploader/publications/pubmed.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-07-14 13:49:08 -0500
committerFrederick Muriuki Muriithi2025-07-14 13:49:08 -0500
commiteb6c0f2bddee49907a04e9d78cbb24598a190c23 (patch)
tree2899d2026afbfd55cc523c89bf6b10adf5debf5b /uploader/publications/pubmed.py
parent6f9a91f1cb92530ad50c608c1f59ff38acb1b1f5 (diff)
downloadgn-uploader-eb6c0f2bddee49907a04e9d78cbb24598a190c23.tar.gz
Fix linting issues.
Diffstat (limited to 'uploader/publications/pubmed.py')
-rw-r--r--uploader/publications/pubmed.py4
1 files changed, 1 insertions, 3 deletions
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: