1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-21 05:31:30 +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
@@ -108,7 +108,7 @@ def detect(*args, **kwargs):
def force_encoding(raw, verbose, assume_utf8=False):
from ebook_converter.constants import preferred_encoding
from ebook_converter.constants_old import preferred_encoding
try:
chardet = detect(raw[:1024*50])