summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xDemo/sgi/sv/contcapt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sgi/sv/contcapt.py b/Demo/sgi/sv/contcapt.py
index 4d2e888..6c0a000 100755
--- a/Demo/sgi/sv/contcapt.py
+++ b/Demo/sgi/sv/contcapt.py
@@ -81,7 +81,7 @@ def main():
elif dev == DEVICE.TIMER0:
try:
captureData, fieldID = v.GetCaptureData()
- except RuntimeError, val:
+ except sv.error, val:
if val <> 'no data available':
print val
continue