Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/game.py
diff options
context:
space:
mode:
Diffstat (limited to 'game.py')
-rwxr-xr-xgame.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/game.py b/game.py
index 494b365..e57926f 100755
--- a/game.py
+++ b/game.py
@@ -29,7 +29,7 @@ class AccelerometerDevice(object):
return x, y, z
def parse(self, data):
- # discart parentheses from the data
+ # discard parentheses from the data
data = data[1:-2]
x, y, z = map(int, data.split(','))
return x, y, z