mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Fix #4010 (Recurrent error - MAC OSX V0.6.21)
This commit is contained in:
parent
975bff46a2
commit
a65ed1ee8e
@ -331,7 +331,11 @@ class RecipeModel(QAbstractItemModel, SearchQueryParser):
|
|||||||
custom_tags)
|
custom_tags)
|
||||||
|
|
||||||
def get_to_be_downloaded_recipes(self):
|
def get_to_be_downloaded_recipes(self):
|
||||||
return self.scheduler_config.get_to_be_downloaded_recipes()
|
ans = self.scheduler_config.get_to_be_downloaded_recipes()
|
||||||
|
ans2 = [x for x in ans if self.get_recipe(x) is not None]
|
||||||
|
for x in set(ans) - set(ans2):
|
||||||
|
self.un_schedule_recipe(x)
|
||||||
|
return ans2
|
||||||
|
|
||||||
def scheduled_urns(self):
|
def scheduled_urns(self):
|
||||||
ans = []
|
ans = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user