mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-04 21:15:24 -04:00
Failed recipe downloads should also update the scheduler to prevent excessive re-downloading
This commit is contained in:
@@ -290,6 +290,7 @@ class Scheduler(QObject):
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user