summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video/Vrec.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sgi/video/Vrec.py')
-rwxr-xr-xDemo/sgi/video/Vrec.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Demo/sgi/video/Vrec.py b/Demo/sgi/video/Vrec.py
index e246f54..a3ebdd8 100755
--- a/Demo/sgi/video/Vrec.py
+++ b/Demo/sgi/video/Vrec.py
@@ -260,4 +260,7 @@ def audiorecord(afile, aport, buffer):
# Don't forget to call the main program
-main()
+try:
+ main()
+except KeyboardInterrupt:
+ print '[Interrupt]'