Kaydet (Commit) fb154171 authored tarafından Vinay Sajip's avatar Vinay Sajip

Fixed bug in DatagramHandler.send()

üst a12fa148
......@@ -450,6 +450,8 @@ class DatagramHandler(SocketHandler):
when the network is busy - UDP does not guarantee delivery and
can deliver packets out of sequence.
"""
if self.sock is None:
self.createSocket()
self.sock.sendto(s, (self.host, self.port))
class SysLogHandler(logging.Handler):
......
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