From 9c30b3d12d28cd3d8e634e0b1af8a22570d6b029 Mon Sep 17 00:00:00 2001 From: tillraab <till.raab@student.uni-tuebingen.de> Date: Mon, 16 Sep 2019 16:58:55 +0200 Subject: [PATCH] bf --- rasp_grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rasp_grid.py b/rasp_grid.py index 3ab0d84..341df8e 100644 --- a/rasp_grid.py +++ b/rasp_grid.py @@ -174,7 +174,7 @@ def main(): file = os.path.join(path, 'traces-grid1.raw') temp_file = os.path.join(path, 'temp_file.txt') - w1_bus_path = os.path.join(glob.glob('/sys/bus/w1/device/28*')[0], 'w1-slave') + w1_bus_path = os.path.join(glob.glob('/sys/bus/w1/devices/28*')[0], 'w1-slave') f = open(file, 'wb') temp_f = open(temp_file, 'w')