mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
afde67471f
commit
2692326607
@ -114,7 +114,7 @@ class FB2Input(InputFormatPlugin):
|
|||||||
break
|
break
|
||||||
|
|
||||||
opf = OPFCreator(os.getcwdu(), mi)
|
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_manifest(entries)
|
||||||
opf.create_spine([u'index.xhtml'])
|
opf.create_spine([u'index.xhtml'])
|
||||||
if cpath:
|
if cpath:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user