1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-15 18:43:30 +02:00

More cleanups. Removing version function.

This commit is contained in:
2020-06-15 22:22:48 +02:00
parent e7bd0f50e6
commit 1c04e7a4c7
5 changed files with 26 additions and 58 deletions

View File

@@ -15,7 +15,8 @@ from ebook_converter.ptempfile import PersistentTemporaryDirectory
from ebook_converter.utils.date import parse_date
from ebook_converter.utils.zipfile import ZipFile
from ebook_converter import extract, walk
from ebook_converter.constants_old import __version__, filesystem_encoding
from ebook_converter import constants
from ebook_converter.constants_old import filesystem_encoding
DEBUG_README=b'''
@@ -956,7 +957,7 @@ OptionRecommendation(name='search_replace',
if self.opts.verbose > 1:
self.log.debug('Resolved conversion options')
try:
self.log.debug('ebook_converter version:', __version__)
self.log.debug('ebook_converter version:', constants.VERSION)
odict = dict(self.opts.__dict__)
for x in ('username', 'password'):
odict.pop(x, None)