Failed recipe downloads should also update the scheduler to prevent excessive re-downloading

This commit is contained in:
Kovid Goyal 2009-12-13 14:54:49 -07:00
parent 000eac9b2c
commit 0d152c41dd

View File

@ -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()