Merge pull request #11 from CodePanter/master

Fixed the updated udp_ip and udp_port not being used.
This commit is contained in:
JanKlopper 2016-11-24 21:09:37 +01:00 committed by GitHub
commit 7c07c1e057

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: