import subprocess
from tempfile import NamedTemporaryFile
-from librarian import OutputFile
+from librarian import IOFile
from librarian.cover import WLCover
from librarian import get_resource
subprocess.check_call(['ebook-convert', epub.get_filename(), output_file.name,
'--no-inline-toc', '--cover=%s' % cover_file.name], **kwargs)
os.unlink(cover_file.name)
- return OutputFile.from_filename(output_file.name)
\ No newline at end of file
+ return IOFile.from_filename(output_file.name)
\ No newline at end of file