diff options
author | Manuel 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) |
commit | b5296d47ca1d1d7d75a55472bd7053504c1e5311 (patch) | |
tree | b707e24b24bbbfa1597c6805667ab20e77a25f7e | |
parent | 2facac89d780f4d9e7b7494c205be45cd6f42911 (diff) |
Typo
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
-rwxr-xr-x | game.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |