[16] fix imdb awards `latest`

pull/1850/head
meisnate12 11 months ago
parent 30577af0e4
commit 2893c84c06

@ -1 +1 @@
1.20.0-develop15
1.20.0-develop16

@ -446,7 +446,7 @@ class IMDb:
if data["event_year"] == "all":
event_years = self.events_validation[data["event_id"]]["years"]
elif data["event_year"] == "latest":
event_years = self.events_validation[data["event_id"]]["years"][0]
event_years = [self.events_validation[data["event_id"]]["years"][0]]
else:
event_years = data["event_year"]
for event_year in event_years:

Loading…
Cancel
Save