mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
cd98541fd4
commit
e3b65de697
@ -42,7 +42,10 @@ class KF8Writer:
|
|||||||
|
|
||||||
def __init__(self, oeb, opts, resources):
|
def __init__(self, oeb, opts, resources):
|
||||||
self.oeb, self.opts, self.log = oeb, opts, oeb.log
|
self.oeb, self.opts, self.log = oeb, opts, oeb.log
|
||||||
|
try:
|
||||||
self.compress = not self.opts.dont_compress
|
self.compress = not self.opts.dont_compress
|
||||||
|
except Exception:
|
||||||
|
self.compress = True
|
||||||
self.has_tbs = False
|
self.has_tbs = False
|
||||||
self.log.info('Creating KF8 output')
|
self.log.info('Creating KF8 output')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user