From aa8e5eec2cb88107e477aa7f9b6bb798ca93af34 Mon Sep 17 00:00:00 2001 From: avollkopf <43980694+avollkopf@users.noreply.github.com> Date: Thu, 19 Oct 2023 07:30:59 +0200 Subject: [PATCH] further onewire setup test --- cbpi/cli.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cbpi/cli.py b/cbpi/cli.py index 51ee60a..b612ec3 100644 --- a/cbpi/cli.py +++ b/cbpi/cli.py @@ -46,6 +46,12 @@ class CraftBeerPiCli(): for line in lines: 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") def list_one_wire(self):