Permalink
Browse files

BF: the loading of sound in prefs was crashing dlg if invalid backend

because the wrong error type was being caught
  • Loading branch information...
peircej committed Dec 4, 2017
1 parent 620999d commit c2d11477b57430613c282ab95c239760f7e138d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 psychopy/app/preferencesDlg.py
@@ -384,7 +384,7 @@ def __init__(self, parent, name, value, spec):
for thisDevName in devs:
if thisDevName not in options:
options.append(thisDevName)
except DependencyError:
except ValueError:
pass
else:
options = spec.replace("option(", "").replace("'", "")

0 comments on commit c2d1147

Please sign in to comment.