Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 2.7 support: Changed FileNotFoundError to OSError #37

Merged
merged 1 commit into from
Jun 22, 2017

Conversation

talkain
Copy link
Contributor

@talkain talkain commented Jun 22, 2017

The exception FileNotFoundError is not defined in Python 2.7.
Instead, except the parent exception 'OSError'
https://docs.python.org/3/library/exceptions.html#exception-hierarchy

Signed-off-by: Tal Kain tal@kain.net

The exception FileNotFoundError is not defined in Python 2.7.
Instead, except the parent exception 'OSError'
https://docs.python.org/3/library/exceptions.html#exception-hierarchy

Signed-off-by: Tal Kain <tal@kain.net>
@Breakthrough Breakthrough merged commit 8a1a46a into Breakthrough:master Jun 22, 2017
@Breakthrough
Copy link
Owner

Thanks for the commit @talkain, this change will be included in the next release of PySceneDetect.

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.

2 participants