Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-05-31 11:55:18 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-05-31 11:55:18 (GMT)
commitb5296d47ca1d1d7d75a55472bd7053504c1e5311 (patch)
treeb707e24b24bbbfa1597c6805667ab20e77a25f7e
parent2facac89d780f4d9e7b7494c205be45cd6f42911 (diff)
Typo
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
-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