1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-03-05 08:25:46 +01: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:
2020-09-06 18:23:05 +02:00
parent de22960d26
commit 6fdcc029bb
8 changed files with 14 additions and 23 deletions

View File

@@ -9,7 +9,7 @@ from math import trunc
from ebook_converter import human_readable
from ebook_converter.constants_old import DEBUG
from ebook_converter.ebooks.metadata import title_sort
from ebook_converter.utils.config import tweaks
from ebook_converter.utils.config_base import tweaks
from ebook_converter.utils.titlecase import titlecase
from ebook_converter.utils.icu import capitalize, strcmp, sort_key
from ebook_converter.utils.date import parse_date, format_date, now, UNDEFINED_DATE