Skip to content

Commit

Permalink
Typo safaribook.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzodifuccia committed Nov 27, 2020
1 parent db37f8d commit 551ca07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safaribooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ def create_content_opf(self):
"media-type=\"text/css\" />".format(i))

authors = "\n".join("<dc:creator opf:file-as=\"{0}\" opf:role=\"aut\">{0}</dc:creator>".format(
escape(aut.get("name", "n/d")])
escape(aut.get("name", "n/d"))
) for aut in self.book_info.get("authors", []))

subjects = "\n".join("<dc:subject>{0}</dc:subject>".format(escape(sub.get("name", "n/d")))
Expand Down

0 comments on commit 551ca07

Please sign in to comment.