projekty
/
imago.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b2ac5c
)
minor fix
author
Tomas Musil
<tomik.musil@gmail.com>
Sat, 8 Sep 2012 11:56:21 +0000
(13:56 +0200)
committer
Tomas Musil
<tomik.musil@gmail.com>
Sat, 8 Sep 2012 11:56:21 +0000
(13:56 +0200)
capture.py
patch
|
blob
|
history
diff --git
a/capture.py
b/capture.py
index
a8b6878
..
7f3234b
100755
(executable)
--- a/
capture.py
+++ b/
capture.py
@@
-54,10
+54,11
@@
class Capture:
else:
if line == "stop\n":
done = True
+ elif line == "exit\n":
+ sys.exit()
else:
for event in pygame.event.get():
if event.type == pygame.QUIT:
- done = True
sys.exit()
elif event.type == pygame.KEYDOWN:
done = True