diff --git a/ascmhl/hashlist_xml_parser.py b/ascmhl/hashlist_xml_parser.py index 8887051..60ff973 100644 --- a/ascmhl/hashlist_xml_parser.py +++ b/ascmhl/hashlist_xml_parser.py @@ -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)