X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/3754989331c91f1d78cd5c1904f768a4cf80f07a..d329e7e5c88a9445e10083536ae1549e6fc1a1be:/librarian/fb2.py?ds=inline diff --git a/librarian/fb2.py b/librarian/fb2.py index d979566..1e110f5 100644 --- a/librarian/fb2.py +++ b/librarian/fb2.py @@ -7,7 +7,7 @@ import os.path from copy import deepcopy from lxml import etree -from librarian import functions, OutputFile +from librarian import functions, IOFile from .epub import replace_by_verse @@ -58,6 +58,6 @@ def transform(wldoc, verbose=False, result = document.transform(style) - return OutputFile.from_string(unicode(result).encode('utf-8')) + return IOFile.from_string(unicode(result).encode('utf-8')) # vim:et