Skip to content

Commit

Permalink
BF: further catches for avbin fails (but avbin10 works with pyglet 1.2?)
Browse files Browse the repository at this point in the history
  • Loading branch information
peircej committed Oct 6, 2014
1 parent 784eb68 commit 7141584
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions psychopy/visual/movie.py
Expand Up @@ -30,9 +30,9 @@
# either avbin isn't installed or scipy.stats has been imported
# (prevents avbin loading)
haveAvbin = False
except WindowsError, e:
# Windows memory access error
# (prevents avbin loading)
except Exception, e:
# WindowsError on some systems
# AttributeError if using avbin5 from pyglet 1.2?
haveAvbin = False


Expand Down
4 changes: 3 additions & 1 deletion psychopy/visual/window.py
Expand Up @@ -40,7 +40,9 @@
haveAvbin = False
# either avbin isn't installed or scipy.stats has been imported
# (prevents avbin loading)
except WindowsError, e:
except Exception, e:
# WindowsError on some systems
# AttributeError if using avbin5 from pyglet 1.2?
haveAvbin = False

import psychopy # so we can get the __path__
Expand Down

0 comments on commit 7141584

Please sign in to comment.