wacom: make the parents for the raw log directory too
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
10c34bc655
commit
244b4f5994
|
@ -189,7 +189,7 @@ class DataLogger(object):
|
|||
self.device = bluez_device
|
||||
self.btaddr = bluez_device.address
|
||||
self.logdir = Path(xdg.BaseDirectory.xdg_data_home, 'tuhi', self.btaddr, 'raw')
|
||||
self.logdir.mkdir(exist_ok=True)
|
||||
self.logdir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
bluez_device.connect('connected', self._on_bluez_connected)
|
||||
bluez_device.connect('disconnected', self._on_bluez_disconnected)
|
||||
|
|
Loading…
Reference in New Issue