mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Polish Books: Fix trying to polish more than 5 books at a time not working
This commit is contained in:
parent
b39785bd59
commit
03dcd9895a
@ -215,6 +215,7 @@ class Polish(QDialog): # {{{
|
|||||||
self.do_book(num, book_id, self.book_id_map[book_id])
|
self.do_book(num, book_id, self.book_id_map[book_id])
|
||||||
except:
|
except:
|
||||||
self.pd.reject()
|
self.pd.reject()
|
||||||
|
raise
|
||||||
else:
|
else:
|
||||||
self.pd.set_value(num)
|
self.pd.set_value(num)
|
||||||
QTimer.singleShot(0, self.do_one)
|
QTimer.singleShot(0, self.do_one)
|
||||||
@ -244,7 +245,7 @@ class Polish(QDialog): # {{{
|
|||||||
title=mi.title), len(self.book_id_map))
|
title=mi.title), len(self.book_id_map))
|
||||||
if hasattr(self, 'pd'):
|
if hasattr(self, 'pd'):
|
||||||
self.pd.set_msg(_('Queueing book %(nums)s of %(tot)s (%(title)s)')%dict(
|
self.pd.set_msg(_('Queueing book %(nums)s of %(tot)s (%(title)s)')%dict(
|
||||||
num=num, tot=len(self.book_id_map), title=mi.title))
|
nums=num, tot=len(self.book_id_map), title=mi.title))
|
||||||
|
|
||||||
self.jobs.append((desc, data, book_id, base))
|
self.jobs.append((desc, data, book_id, base))
|
||||||
# }}}
|
# }}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user