beacon-server-list: fixed for python3

parent f8e4bcf5
......@@ -18,6 +18,7 @@ try:
with gevent.Timeout(3., "END"):
while True:
msg, address = udp.recvfrom(8192)
msg = msg.decode()
host, port = msg.split("|")
replied_host.add((host, port))
except gevent.Timeout:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment