This commit is contained in:
tillraab 2019-09-16 16:56:11 +02:00
parent dec2fc40bf
commit 19a3a75d35

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 = glob.glob('/sys/bus/w1/device/28*/w1-slave')[0]
w1_bus_path = os.path.join(glob.glob('/sys/bus/w1/device/28*')[0], 'w1-slave')
f = open(file, 'wb')
temp_f = open(temp_file, 'w')