Commit ccc7c575 authored by Aram Verstegen's avatar Aram Verstegen
Browse files

Only add textual metadata tag when text is present

parent 945be778
...@@ -329,8 +329,8 @@ class EpubGenerator(object): ...@@ -329,8 +329,8 @@ class EpubGenerator(object):
'reading sequence.' 'reading sequence.'
) )
modes = ['textual'] modes = []
modes_sufficient = ['textual'] modes_sufficient = []
if self.has_text: if self.has_text:
modes.append('textual') modes.append('textual')
modes_sufficient.append('textual') modes_sufficient.append('textual')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment