mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
affc72895b
commit
c9f96840cc
@ -53,6 +53,8 @@ class Economist(BasicNewsRecipe):
|
|||||||
self.feed_dict.items()])
|
self.feed_dict.items()])
|
||||||
|
|
||||||
def eco_sort_sections(self, feeds):
|
def eco_sort_sections(self, feeds):
|
||||||
|
if not feeds:
|
||||||
|
raise ValueError('No new articles found')
|
||||||
order = {
|
order = {
|
||||||
'The World This Week': 1,
|
'The World This Week': 1,
|
||||||
'Leaders': 2,
|
'Leaders': 2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user