Skip to content

Commit

Permalink
[67] fix nominee key error
Browse files Browse the repository at this point in the history
  • Loading branch information
meisnate12 committed Jan 2, 2024
1 parent e1ae246 commit 5dbbb0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.19.1-develop66
1.19.1-develop67
2 changes: 1 addition & 1 deletion modules/imdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def _award(self, data):
for cat in categories:
if data["category_filter"] and cat not in data["category_filter"]:
continue
final_list.extend(categories["winner" if data["winning"] else "nominee"])
final_list.extend(categories[cat]["winner" if data["winning"] else "nominee"])
else:
event_slug = f"{data['event_year'][0]}/1" if "-" not in data["event_year"][0] else data["event_year"][0].replace("-", "/")
for text in self._request(f"{base_url}/event/{data['event_id']}/{event_slug}/?ref_=ev_eh", xpath="//div[@class='article']/script/text()")[0].split("\n"):
Expand Down

0 comments on commit 5dbbb0b

Please sign in to comment.