summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Naik2014-03-17 01:58:59 +0530
committerAditya Naik2014-03-17 01:58:59 +0530
commitb7b3819e4a342e81cc17c7adddb2c450586509a3 (patch)
tree08ebcd5a7f2c113fc0c2bc6f1cd6195cdba16879
parent8123a2d2c7becbe8f99548c2eeb4e17e4fe8ac25 (diff)
minor improvements to the class structureHEADmaster
-rw-r--r--aslclass.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/aslclass.py b/aslclass.py
index 31fda2a..68997f7 100644
--- a/aslclass.py
+++ b/aslclass.py
@@ -89,8 +89,10 @@ class ASLreport:
print("Shot #%d at %fs "%(self.shotcount,timestamp))
self.key()
- elif keystroke=="p": self.pause()
- elif keystroke=="e" : self.reset()
+ elif keystroke=="p":
+ self.pause()
+ elif keystroke=="e":
+ self.reset()
else: print("Unkown keystroke")
def pause(self):