Fixing bug: content was created before localizing urls.

This commit is contained in:
2018-10-20 23:37:41 +01:00
parent fc72cacc4a
commit 11a29c3e0a

View File

@@ -38,7 +38,8 @@ class PrepareEpub(object):
cls._moveTo(item,local_url)
if mime == 'text/html':
for item in book.content.values():
if item.content_type == 'text/html':
cls._setXmlContent(item)