Skip to content

Python 2.7 support: Changed FileNotFoundError to OSError - #37

Merged
Breakthrough merged 1 commit into
Breakthrough:masterfrom
talkain:master
Jun 22, 2017
Merged

Python 2.7 support: Changed FileNotFoundError to OSError#37
Breakthrough merged 1 commit into
Breakthrough:masterfrom
talkain:master

Conversation

@talkain

@talkain talkain commented Jun 22, 2017

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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