diff --git a/Demo/sgi/sv/contcapt.py b/Demo/sgi/sv/contcapt.py index 4d2e88865e2..6c0a0003bb4 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