diff options
Diffstat (limited to 'game.py')
-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 |