Merge pull request #14 from CodePanter/master
Fixed the specified sleep not being used in the SendPacket functions.
This commit is contained in:
commit
d10d44af6b
2 changed files with 2 additions and 2 deletions
|
|
@ -238,7 +238,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):
|
||||||
|
|
|
||||||
2
vloed.py
2
vloed.py
|
|
@ -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):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue