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:
Peter Hutterer 2019-08-21 12:54:47 +10:00
parent 10c34bc655
commit 244b4f5994
1 changed files with 1 additions and 1 deletions

View File

@ -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)