From 0fe5825004f0c7fcfa8eb8b9e4917163d0ca190c Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 7 Nov 2024 19:27:51 +0100 Subject: [PATCH] lprint: deal with prompt differently --- client/pyscripts/fm11rf08_full.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/pyscripts/fm11rf08_full.py b/client/pyscripts/fm11rf08_full.py index 8356d2ed9..2a0eaedb4 100644 --- a/client/pyscripts/fm11rf08_full.py +++ b/client/pyscripts/fm11rf08_full.py @@ -77,9 +77,9 @@ def startlog(uid, dpath, append=False): logbuffer = '' -def lprint(s='', end='\n', flush=False, prompt="[=]", log=True): +def lprint(s='', end='\n', flush=False, prompt="[=] ", log=True): - s = f"{prompt} " + f"\n{prompt} ".join(s.split('\n')) + s = f"{prompt}" + f"\n{prompt}".join(s.split('\n')) print(s, end=end, flush=flush) if log is True: