mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Failed recipe downloads should also update the scheduler to prevent excessive re-downloading
This commit is contained in:
parent
000eac9b2c
commit
0d152c41dd
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user