X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/5c55be51e46b296d368b86375f2f4b90ea46c00b..91f6668cbed67a0a6513dd892f04be5cffadf966:/librarian/mobi.py diff --git a/librarian/mobi.py b/librarian/mobi.py index d98b838..9558452 100644 --- a/librarian/mobi.py +++ b/librarian/mobi.py @@ -8,7 +8,7 @@ import os import subprocess from tempfile import NamedTemporaryFile -from librarian import OutputFile +from librarian import IOFile from librarian.cover import WLCover from librarian import get_resource @@ -57,4 +57,4 @@ def transform(wldoc, verbose=False, 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