netrender: bugfix by matd on irc. unbound var when broadcast is off
This commit is contained in:
@@ -744,7 +744,7 @@ def runMaster(address, broadcast, path, update_stats, test_break):
|
|||||||
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||||
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
|
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
|
||||||
|
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
|
|
||||||
while not test_break():
|
while not test_break():
|
||||||
httpd.handle_request()
|
httpd.handle_request()
|
||||||
|
|||||||
Reference in New Issue
Block a user