Merge pull request #14 from CodePanter/master

Fixed the specified sleep not being used in the SendPacket functions.
This commit is contained in:
JanKlopper 2016-12-06 21:06:17 +01:00 committed by GitHub
commit d10d44af6b
2 changed files with 2 additions and 2 deletions

View file

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

View file

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