X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/d9dc96ea261fdeed57bbb57c4405003893668d8d..8be494f3ddda9f45ae3e454ec549e06f0eba9380:/librarian/fb2.py 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