Merge branch 'master' into gutenberg2

gut2-dev
eric 2019-09-14 12:54:19 -04:00
commit 1f48edfef5
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class XMLishFormatter (BaseFormatter.BaseFormatter):
dedupable = {}
for file_ in dc.files:
if file_.filetype.endswith('images'):
if file_.filetype and file_.filetype.endswith('images'):
dedupable[file_.filetype] = file_
do_dedupe = False
for ft in ['epub', 'kindle', 'pdf']: