fix type bug

This commit is contained in:
Geoff Whittington
2022-11-21 14:17:36 -05:00
parent 74114f1acc
commit 26d540fead
+1 -1
View File
@@ -423,7 +423,7 @@ class RadioMessagePlugin(Plugin):
meshPacket = mesh_pb2.MeshPacket()
meshPacket.channel = 0
meshPacket.decoded.payload = base64.b64decode(packet["decoded"]["payload"])
meshPacket.decoded.portnum = packet["decoded"]["portnum"]
meshPacket.decoded.portnum = int(packet["decoded"]["portnum"])
meshPacket.decoded.want_response = False
meshPacket.id = device._generatePacketId()