mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-25 07:51:28 +02:00
0f9792df36
Here is the first batch of modules, which are needed for converting several formats to LRF. Some of the logic has been change, more cleanups will follow.
11 lines
285 B
Python
11 lines
285 B
Python
#!/usr/bin/env python2
|
|
# vim:fileencoding=utf-8
|
|
# License: GPL v3 Copyright: 2019, Eli Schwartz <eschwartz@archlinux.org>
|
|
|
|
from ebook_converter.polyglot.builtins import is_py3
|
|
|
|
if is_py3:
|
|
from html.entities import name2codepoint
|
|
else:
|
|
from htmlentitydefs import name2codepoint
|