mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-27 14:24:12 +02:00
...
This commit is contained in:
parent
a16708ca72
commit
f595ff2dfc
1 changed files with 4 additions and 4 deletions
|
|
@ -185,10 +185,10 @@ def do_one(self, id):
|
|||
cdata, area = get_cover_data(fmt)
|
||||
if cdata:
|
||||
covers.append((cdata, area))
|
||||
covers.sort(key=lambda x: x[1])
|
||||
if covers:
|
||||
self.db.set_cover(id, covers[-1][0])
|
||||
covers = []
|
||||
covers.sort(key=lambda x: x[1])
|
||||
if covers:
|
||||
self.db.set_cover(id, covers[-1][0])
|
||||
covers = []
|
||||
elif self.current_phase == 2:
|
||||
# All of these just affect the DB, so we can tolerate a total rollback
|
||||
if do_auto_author:
|
||||
|
|
|
|||
Loading…
Reference in a new issue