mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix not actually setting the compression level
This commit is contained in:
parent
bbced250d5
commit
4881e93d2d
@ -1381,6 +1381,8 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
||||
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…
x
Reference in New Issue
Block a user