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

Projects
None yet
2 participants
@talkain
Contributor

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

Python 2.7 support: Changed FileNotFoundError to OSError
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

This comment has been minimized.

Owner

Breakthrough commented Jun 22, 2017

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