Fix carbon issues
parent
6496fbd7a8
commit
8066995da5
5
host.py
5
host.py
|
@ -32,10 +32,9 @@ SPATH = "sounds/"
|
||||||
play_again_at = time.time()
|
play_again_at = time.time()
|
||||||
|
|
||||||
def logmesohard(name):
|
def logmesohard(name):
|
||||||
return
|
|
||||||
s = socket.socket()
|
s = socket.socket()
|
||||||
s.connect(('10.8.1.1', 2003))
|
s.connect(('10.8.1.1', 2023))
|
||||||
s.sendall('hackerspace.soundboard.{} 1'.format(name.replace('.', '_')))
|
s.sendall('hackerspace.soundboard.{} 1 {}\n'.format(name.replace('.', '_'), int(time.time())))
|
||||||
s.close()
|
s.close()
|
||||||
|
|
||||||
print("Playing {}".format(name))
|
print("Playing {}".format(name))
|
||||||
|
|
Loading…
Reference in New Issue