1
0
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:
2020-05-26 19:52:18 +02:00
parent 399456d9ad
commit 2c78d6e3a6
55 changed files with 59 additions and 58 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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