mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-07 13:33:33 +02:00
Removed prints and extract function from init module
This commit is contained in:
@@ -24,7 +24,6 @@ class HTML2ZIP(FileTypePlugin):
|
||||
|
||||
def run(self, htmlfile):
|
||||
import codecs
|
||||
from ebook_converter import prints
|
||||
from ebook_converter.ptempfile import TemporaryDirectory
|
||||
from ebook_converter.gui2.convert.gui_conversion import gui_convert
|
||||
from ebook_converter.customize.conversion import OptionRecommendation
|
||||
@@ -40,7 +39,8 @@ class HTML2ZIP(FileTypePlugin):
|
||||
try:
|
||||
codecs.lookup(enc)
|
||||
except Exception:
|
||||
prints('Ignoring invalid input encoding for HTML:', enc)
|
||||
print('Ignoring invalid input encoding for HTML: %s',
|
||||
enc)
|
||||
else:
|
||||
recs.append(['input_encoding', enc, OptionRecommendation.HIGH])
|
||||
if bf == 'bf':
|
||||
|
||||
Reference in New Issue
Block a user