From af7697f223bfe520e627bcd5183274700a4ed70e Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Tue, 28 Oct 2025 12:31:30 +0100 Subject: [PATCH] Fixed string formatting for Android --- RNS/Interfaces/WeaveInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Interfaces/WeaveInterface.py b/RNS/Interfaces/WeaveInterface.py index 37511e7..398a8df 100644 --- a/RNS/Interfaces/WeaveInterface.py +++ b/RNS/Interfaces/WeaveInterface.py @@ -637,7 +637,7 @@ class WeaveDevice(): else: ts = RNS.prettytime(frame.timestamp) if frame.event == Evt.ET_MSG: - if len(frame.data): data_string = f"{frame.data.decode("utf-8")}" + if len(frame.data): data_string = frame.data.decode("utf-8") else: data_string = "" rendered = f"[{ts}] [{Evt.level(frame.level)}]: {data_string}"