fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wip change fb2 api
[librarian.git]
/
src
/
librarian
/
fb2.py
diff --git
a/src/librarian/fb2.py
b/src/librarian/fb2.py
index
6dd1c35
..
2946ecf
100644
(file)
--- a/
src/librarian/fb2.py
+++ b/
src/librarian/fb2.py
@@
-1,14
+1,9
@@
-# -*- coding: utf-8 -*-
-#
# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja
Nowoczesna Polska
. See NOTICE for more information.
+# Copyright © Fundacja
Wolne Lektury
. See NOTICE for more information.
#
#
-from __future__ import unicode_literals
-
import os.path
from copy import deepcopy
from lxml import etree
import os.path
from copy import deepcopy
from lxml import etree
-import six
from librarian import functions, OutputFile
from .epub import replace_by_verse
from librarian import functions, OutputFile
from .epub import replace_by_verse
@@
-65,6
+60,6
@@
def transform(wldoc, verbose=False,
result = document.transform(style)
result = document.transform(style)
- return OutputFile.from_bytes(s
ix.text_type
(result).encode('utf-8'))
+ return OutputFile.from_bytes(s
tr
(result).encode('utf-8'))
# vim:et
# vim:et