Fix regression that broke FB2 input

Fixes #1186213 [ebook-viewer (portable 0.9.33) :: "Expected string or buffer" error](https://bugs.launchpad.net/calibre/+bug/1186213)
This commit is contained in:
Kovid Goyal 2013-05-31 16:57:55 +05:30
parent afde67471f
commit 2692326607

View File

@ -114,7 +114,7 @@ class FB2Input(InputFormatPlugin):
break
opf = OPFCreator(os.getcwdu(), mi)
entries = [(f2, guess_type(f)[0]) for f2 in os.listdir(u'.')]
entries = [(f2, guess_type(f2)[0]) for f2 in os.listdir(u'.')]
opf.create_manifest(entries)
opf.create_spine([u'index.xhtml'])
if cpath: