aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony LaTorre <devnull@localhost>2013-04-17 22:44:08 -0500
committerAnthony LaTorre <devnull@localhost>2013-04-17 22:44:08 -0500
commite1058fbccb07ca22f080e121b88f4a182ca9b697 (patch)
tree8cd4196053e583ace205a28fbe495db8a478ef2f
parenta698974c40e5d86ecf008ce71d50662368158c5f (diff)
downloadlecrunch-e1058fbccb07ca22f080e121b88f4a182ca9b697.tar.gz
lecrunch-e1058fbccb07ca22f080e121b88f4a182ca9b697.tar.bz2
lecrunch-e1058fbccb07ca22f080e121b88f4a182ca9b697.zip
break out of run loop after catching a keyboard interrupt
-rw-r--r--tektronix.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tektronix.py b/tektronix.py
index ddf0274..9d3b520 100644
--- a/tektronix.py
+++ b/tektronix.py
@@ -281,6 +281,8 @@ if __name__ == '__main__':
for channel in active_channels:
dataset = f['channel%i' % channel]
dataset.resize((i,dataset.shape[1]))
+
+ break
else:
print