Typo safaribook.py

This commit is contained in:
Lorenzo Di Fuccia 2020-11-27 16:27:17 +01:00 • committed by GitHub
commit 551ca07e43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -948,7 +948,7 @@ class SafariBooks:
"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")))