mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Prevent trackback when no news is scheduled and clicking downloading all scheduled news button.
This commit is contained in:
parent
d1087fa909
commit
b827dea7f1
@ -133,7 +133,7 @@ class RecipeModel(QAbstractItemModel, SearchQueryParser):
|
||||
self._map = dict(self.category_map)
|
||||
|
||||
def scheduled_recipes(self):
|
||||
for recipe in self.category_map[_('Scheduled')]:
|
||||
for recipe in self.category_map.get(_('Scheduled'), []):
|
||||
yield recipe
|
||||
|
||||
def sort_categories(self, x, y):
|
||||
|
Loading…
x
Reference in New Issue
Block a user