This commit is contained in:
tillraab 2019-09-16 16:58:55 +02:00
parent 19a3a75d35
commit 9c30b3d12d

View File

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