bf
This commit is contained in:
parent
dec2fc40bf
commit
19a3a75d35
@ -174,7 +174,7 @@ def main():
|
|||||||
file = os.path.join(path, 'traces-grid1.raw')
|
file = os.path.join(path, 'traces-grid1.raw')
|
||||||
temp_file = os.path.join(path, 'temp_file.txt')
|
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')
|
f = open(file, 'wb')
|
||||||
temp_f = open(temp_file, 'w')
|
temp_f = open(temp_file, 'w')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user