mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-11-08 09:53:21 -05:00
Fixed string formatting for Android
This commit is contained in:
parent
0bcb4b8573
commit
af7697f223
1 changed files with 1 additions and 1 deletions
|
|
@ -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}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue