Fixed the updated udp_ip and udp_port not being used.

This commit is contained in:
CodePanter 2016-11-24 21:07:40 +01:00
parent 1c831d022a
commit 3020d9ca0d

View file

@ -155,7 +155,7 @@ class Canvas(object):
self.broadcastsocket.sendto(
'%s:%f %s:%d %d*%d' % (
PROTOCOL_PREAMBLE, PROTOCOL_VERSION,
UDP_IP, UDP_PORT,
self.udp_ip, self.udp_port,
self.width/self.factor, self.height/self.factor),
('<broadcast>', DISCOVER_PORT))
if self.debug: