mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix for last py3 merge
This commit is contained in:
parent
b841f804d0
commit
cdc26fa38e
@ -372,8 +372,8 @@ class CatalogBuilder(object):
|
|||||||
self.thumb_height = self.thumb_width * 1.33
|
self.thumb_height = self.thumb_width * 1.33
|
||||||
if 'kindle' in x.short_name and self.opts.fmt == 'mobi':
|
if 'kindle' in x.short_name and self.opts.fmt == 'mobi':
|
||||||
# Kindle DPI appears to be off by a factor of 2
|
# Kindle DPI appears to be off by a factor of 2
|
||||||
self.thumb_width = self.thumb_width / 2
|
self.thumb_width = self.thumb_width // 2
|
||||||
self.thumb_height = self.thumb_height / 2
|
self.thumb_height = self.thumb_height // 2
|
||||||
break
|
break
|
||||||
if self.opts.verbose:
|
if self.opts.verbose:
|
||||||
self.opts.log(" Thumbnails:")
|
self.opts.log(" Thumbnails:")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user