wacom: log the raw yaml data into a subdirectory

It gets a bit too confusing otherwise with all the weirdly named files around

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
pull/160/head
Peter Hutterer 2019-08-15 13:34:49 +10:00
parent 6bf7715e83
commit 35acce3ea6
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class DataLogger(object):
self.logger = logging.getLogger('tuhi.fw')
self.device = bluez_device
self.btaddr = bluez_device.address
self.logdir = os.path.join(xdg.BaseDirectory.xdg_data_home, 'tuhi', self.btaddr)
self.logdir = os.path.join(xdg.BaseDirectory.xdg_data_home, 'tuhi', self.btaddr, 'raw')
os.makedirs(self.logdir, exist_ok=True)
bluez_device.connect('connected', self._on_bluez_connected)