wacom: prettify the 'returned time' debug message

pull/81/merge
Peter Hutterer 2018-02-09 14:35:49 +10:00
parent 3cbbfbf056
commit 7cd9a89f3b
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ class WacomProtocolBase(WacomProtocolLowLevelComm):
data = self.send_nordic_command_sync(command=0xb6,
expected_opcode=0xbd)
ts = self.time_from_bytes(data)
logger.debug(f'b6 returned time: {ts}')
logger.debug(f'b6 returned time: UTC {time.strftime("%y%m%d%H%M%S", ts)}')
# FIXME: check if data matches self.current_time
def get_battery_info(self):