1. mixedpower
  2. Untitled project
  3. pyAggr3g470r

Commits

Cédric Bonhomme  committed 98a6c2f

Minor bugfix when setting the title of the generated epub

  • Participants
  • Parent commits e48d9b5
  • Branches default

Comments (0)

Files changed (1)

File source/pyAggr3g470r.py

View file
             # directories already exists (not a problem)
             pass
         section = ez_epub.Section()
-        section.title = article["article_title"].decode('utf-8')
+        section.title = article["article_title"]
         section.paragraphs = [utils.clear_string(article["article_content"])]
         ez_epub.makeBook(article["article_title"], [feed["feed_title"]], [section], \
                 os.path.normpath(folder) + "article.epub", lang='en-US', cover=None)