Fixed the specified sleep not being used.

This commit is contained in:
CodePanter 2016-12-06 20:53:49 +01:00
parent 1e9694d4a1
commit e204264680

View file

@ -225,7 +225,7 @@ class PixelVloedClient(object):
""" """
self.sock.sendto(message, (self.ipaddress, self.port)) self.sock.sendto(message, (self.ipaddress, self.port))
if sleep: if sleep:
self.Sleep(duration=0.01) self.Sleep(duration=sleep)
@staticmethod @staticmethod
def DiscoverServers(returnfirst=False, timeout=5): def DiscoverServers(returnfirst=False, timeout=5):