mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-09 04:24:58 +01:00
Failed recipe downloads should also update the scheduler to prevent excessive re-downloading
This commit is contained in:
parent
000eac9b2c
commit
0d152c41dd
1 changed files with 1 additions and 0 deletions
|
|
@ -290,6 +290,7 @@ def recipe_downloaded(self, arg):
|
|||
def recipe_download_failed(self, arg):
|
||||
self.lock.lock()
|
||||
try:
|
||||
self.recipe_model.update_last_downloaded(arg['urn'])
|
||||
self.download_queue.remove(arg['urn'])
|
||||
finally:
|
||||
self.lock.unlock()
|
||||
|
|
|
|||
Loading…
Reference in a new issue