Fix generate thumbnail task messages, don't load thumbnails when the cache file has been deleted

This commit is contained in:
mmonkey
2020-12-24 03:00:26 -06:00
parent 242a2767a1
commit eef21759cd
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ class TaskGenerateCoverThumbnails(CalibreTask):
else:
self.create_book_thumbnail(book, resolution)
self.message(u'Generating cover thumbnail {0} of {1}'.format(i, count))
self.message = u'Generating cover thumbnail {0} of {1}'.format(i + 1, count)
self.progress = (1.0 / count) * i
self._handleSuccess()