Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
arpruss committed Jul 10, 2016
1 parent d50d22d commit 0c32533
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python2-scripts/mcpipy/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ def wasPressedSinceLast(key):
def clearPressBuffer(key):
while wasPressedSinceLast(key):
pass

else:
raise Exception('Platform '+system()+' not supported.')

if __name__ == '__main__':
from time import sleep
print("Press ESC to exit. Testing spacebar.")
Expand Down

0 comments on commit 0c32533

Please sign in to comment.