mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 16:54:28 +02:00
Fix not actually setting the compression level
This commit is contained in:
parent
bbced250d5
commit
4881e93d2d
1 changed files with 2 additions and 0 deletions
|
|
@ -1381,6 +1381,8 @@ def startup_on_demand(self):
|
|||
cq = int(self.settings().extra_customization[self.OPT_COMPRESSION_QUALITY])
|
||||
if cq < 50 or cq > 99:
|
||||
compression_quality_ok = False
|
||||
else:
|
||||
self.THUMBNAIL_COMPRESSION_QUALITY = cq
|
||||
except:
|
||||
compression_quality_ok = False
|
||||
if not compression_quality_ok:
|
||||
|
|
|
|||
Loading…
Reference in a new issue