mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-20 21:21:35 +02:00
Renamed constants, to make room for real constants module
This commit is contained in:
@@ -26,7 +26,7 @@ def generate_test_db(library_path, # {{{
|
||||
max_tags=10
|
||||
):
|
||||
import random, string, os, sys, time
|
||||
from ebook_converter.constants import preferred_encoding
|
||||
from ebook_converter.constants_old import preferred_encoding
|
||||
|
||||
if not os.path.exists(library_path):
|
||||
os.makedirs(library_path)
|
||||
|
||||
@@ -3,7 +3,7 @@ import re
|
||||
import bs4
|
||||
|
||||
from ebook_converter import prepare_string_for_xml
|
||||
from ebook_converter.constants import preferred_encoding
|
||||
from ebook_converter.constants_old import preferred_encoding
|
||||
from ebook_converter.ebooks.BeautifulSoup import html5_parser
|
||||
from ebook_converter.utils.html2text import html2text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user