diff options
author | Frederick Muriuki Muriithi | 2025-07-14 13:49:08 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-07-14 13:49:08 -0500 |
commit | eb6c0f2bddee49907a04e9d78cbb24598a190c23 (patch) | |
tree | 2899d2026afbfd55cc523c89bf6b10adf5debf5b /uploader/publications/pubmed.py | |
parent | 6f9a91f1cb92530ad50c608c1f59ff38acb1b1f5 (diff) | |
download | gn-uploader-eb6c0f2bddee49907a04e9d78cbb24598a190c23.tar.gz |
Fix linting issues.
Diffstat (limited to 'uploader/publications/pubmed.py')
-rw-r--r-- | uploader/publications/pubmed.py | 4 |
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: |