Skip to content

Commit

Permalink
black'ed the source for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrpfn committed Aug 22, 2024
1 parent cecc558 commit 14223b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ascmhl/hashlist_xml_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,11 @@ def _creator_info_xml_element(hash_list: MHLHashList):
for author in creator_info.authors:
author_element = E.author()
if author.role != None:
author_element.attrib['role'] = author.role
author_element.attrib["role"] = author.role
if author.email != None:
author_element.attrib['email'] = author.email
author_element.attrib["email"] = author.email
if author.phone != None:
author_element.attrib['phone'] = author.phone
author_element.attrib["phone"] = author.phone
if author.name != None and author.name != "-":
author_element.text = author.name
info_element.append(author_element)
Expand Down

0 comments on commit 14223b6

Please sign in to comment.