1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-03-07 01:55:51 +01:00

Don't cross import symbols from __init__

This commit is contained in:
2020-09-30 19:06:42 +02:00
parent ee232b76d6
commit 97ddcd7be1
5 changed files with 12 additions and 25 deletions

View File

@@ -8,17 +8,9 @@ import re
from functools import partial
from ebook_converter import constants_old
from ebook_converter.constants_old import \
__appname__, __version__, __author__, \
config_dir
from ebook_converter.ebooks.html_entities import html5_entities
if False:
# Prevent pyflakes from complaining
__appname__, __version__, __author__, config_dir
def init_mimetypes():
mimetypes.init([pkg_resources.resource_filename('ebook_converter',
'data/mime.types')])