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:
@@ -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')])
|
||||
|
||||
Reference in New Issue
Block a user