wacom: add missing linebreaks to the yml log file

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
pull/160/head
Peter Hutterer 2019-08-15 10:01:11 +10:00
parent e6057e256d
commit 7f8222b351
1 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ class DataLogger(object):
self.logfile.write(f'# {self.commands[data[0]]}\n')
self.logfile.write(f' - recv: {list2hexlist(data)}\n')
if source != 'NORDIC':
self.logfile.write(f' source: {source}')
self.logfile.write(f' source: {source}\n')
def _send(self, source, data):
command = data[0]
@ -258,7 +258,7 @@ class DataLogger(object):
self.logfile.write(f'# {self.commands[data[0]]}\n')
self.logfile.write(f' - send: {list2hexlist(data)}\n')
if source != 'NORDIC':
self.logfile.write(f' source: {source}')
self.logfile.write(f' source: {source}\n')
class WacomException(Exception):