fixed encoding

This commit is contained in:
DJ2LS 2023-05-27 21:00:01 +02:00
parent 8a85dfd150
commit ecc6312bc3

View file

@ -88,7 +88,7 @@ class MeshRouter():
print(item[snr])
try:
print(item[snr])
snr = bytes(item[snr]).split(b"/")
snr = bytes(item[snr], "utf-8").split(b"/")
snr = int(float(snr[0]))
except Exception as e:
snr = int(float(item[snr]))