Browse Source

fix missed append operator

add-key-protocol-support
ghost 11 months ago
parent
commit
e5c6627586
  1. 2
      pymaster.py

2
pymaster.py

@ -162,7 +162,7 @@ class PyMaster:
self.sock.sendto(data, i.addr) self.sock.sendto(data, i.addr)
if key: if key:
packet = b"\x7f" + key.encode('latin_1') packet += b"\x7f" + key.encode('latin_1')
# Use pregenerated address string # Use pregenerated address string
packet += i.queryAddr packet += i.queryAddr

Loading…
Cancel
Save