Skip to content

Fix KeyError crash when missing release_date for cancelled movies and shows - #20

Open
Viserius wants to merge 2 commits into
Electronickss:masterfrom
Viserius:master
Open

Fix KeyError crash when missing release_date for cancelled movies and shows#20
Viserius wants to merge 2 commits into
Electronickss:masterfrom
Viserius:master

Conversation

@Viserius

@Viserius Viserius commented Jan 6, 2020

Copy link
Copy Markdown

Right now, the script fails when there is a movie that has no release_date set (which is an optional field).
This change ensures that whenever there is no release_date, it assumes the movie/show is cancelled, and hence there is no need to download that trailer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant