further onewire setup test

This commit is contained in:
avollkopf 2023-10-19 07:30:59 +02:00
parent 69da4beff7
commit aa8e5eec2c

View file

@ -46,6 +46,12 @@ class CraftBeerPiCli():
for line in lines: for line in lines:
print(line) print(line)
configtemppath=os.path.join(self.config.get_file_path(""),"config.txt")
print(configtemppath)
with open(configtemppath, 'w') as f:
f.write(lines)
print("/boot/config.txt created") print("/boot/config.txt created")
def list_one_wire(self): def list_one_wire(self):