wacom: fix the data logger being off by one

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
pull/149/head
Peter Hutterer 2019-08-01 15:54:06 +10:00 committed by Benjamin Tissoires
parent 96df9fc416
commit 341b91349e
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ class DataLogger(object):
def _send(self, source, data):
command = data[0]
arguments = data[1:]
arguments = data[2:]
if data[0] in self.commands:
self.logger.debug(f'command: {self.commands[data[0]]}')