From f00a646a2adb16ecd53e4147c80ab103ec5fd335 Mon Sep 17 00:00:00 2001 From: avollkopf <43980694+avollkopf@users.noreply.github.com> Date: Thu, 19 Oct 2023 07:33:37 +0200 Subject: [PATCH] another onewire setup test --- cbpi/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cbpi/cli.py b/cbpi/cli.py index b612ec3..483692d 100644 --- a/cbpi/cli.py +++ b/cbpi/cli.py @@ -50,7 +50,8 @@ class CraftBeerPiCli(): print(configtemppath) with open(configtemppath, 'w') as f: - f.write(lines) + for line in lines: + f.write(line) print("/boot/config.txt created")