mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-04-28 16:50:00 -07:00
Fixed string formatting for Android
This commit is contained in:
@@ -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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user