wacom: improve a timestamp debug message

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2019-08-14 12:48:12 +10:00
parent e5375a55dd
commit 32091d9a7b
1 changed files with 2 additions and 1 deletions

View File

@ -1083,7 +1083,8 @@ class WacomProtocolIntuosPro(WacomProtocolSlate):
nstrokes = int.from_bytes(data[offset:offset + 2], byteorder='little')
offset += 2
logger.debug(f'Drawing timestamp: {t}, {nstrokes} strokes')
timestamp = time.strftime('%Y%m%d-%H%M%S', t)
logger.debug(f'Drawing timestamp: {timestamp}, {nstrokes} strokes')
# Can't have enough zeroes. They'll come in handy one day
expected_header = b'\x00\x00\x00\x00'