From 35acce3ea69f1e83105dbc89af58f3dc2e5fc9df Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 15 Aug 2019 13:34:49 +1000 Subject: [PATCH] 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 --- tuhi/wacom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuhi/wacom.py b/tuhi/wacom.py index 78a49d3..7816ca8 100644 --- a/tuhi/wacom.py +++ b/tuhi/wacom.py @@ -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)