Skip to content

Commit

Permalink
Merge pull request #27 from tfriedel/patch-1
Browse files Browse the repository at this point in the history
fix for #26 'dict_keys' object is not subscriptable
  • Loading branch information
mmagnus authored Nov 22, 2020
2 parents 05c4f4b + 7a6a5e5 commit 8a15d2a
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 @@ -286,7 +286,7 @@ class Pocket(BasicNewsRecipe):
self.tagsList = []
for item in response['list']:
try:
tagItem = response['list'][item]['tags'].keys()[0]
tagItem = list(response['list'][item]['tags'].keys())[0]
except KeyError:
continue
if tagItem not in self.tagsList:
Expand Down

0 comments on commit 8a15d2a

Please sign in to comment.