Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
Apply sorting order
Browse files Browse the repository at this point in the history
  • Loading branch information
dlo9 committed Jul 27, 2019
1 parent 53dcf5a commit 6d1dd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pocket.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class Pocket(BasicNewsRecipe):
'date': item['time_added'],
'description': item['excerpt'],
}
for item in response['list'].values()
for item in sorted(response['list'].values(), key = lambda x: x['sort_id'])
] if response['list'] else [])]

def reauthorize(self):
Expand Down

0 comments on commit 6d1dd39

Please sign in to comment.