mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-24 23:31:29 +02:00
Cut off cross importing things.
There was (and perhaps it exists in other modules, need to check) a bad habit of importing objects out of module A into B just to be able of import those object from module B. In this case there was import from module config_base into module config. This commit fix this.
This commit is contained in:
@@ -18,7 +18,7 @@ from ebook_converter.ebooks.metadata.utils import (
|
||||
create_manifest_item, ensure_unique, normalize_languages, parse_opf,
|
||||
pretty_print_opf
|
||||
)
|
||||
from ebook_converter.utils.config import from_json, to_json
|
||||
from ebook_converter.utils.config_base import from_json, to_json
|
||||
from ebook_converter.utils.date import (fix_only_date, is_date_undefined,
|
||||
isoformat, parse_date as parse_date_,
|
||||
utcnow, w3cdtf)
|
||||
|
||||
Reference in New Issue
Block a user