Skip to content
Snippets Groups Projects
Commit cbd438bd authored by Benoit Favre's avatar Benoit Favre
Browse files

change osc urls

parent 6d636799
No related branches found
No related tags found
No related merge requests found
......@@ -14,10 +14,10 @@ class Client:
print >>sys.stderr, 'OSC: failed to send message [%s]' % str(message)
def send_action(self, action):
self.send('ACTION: %s' % action.text)
self.send('/action/%s' % (action.text))
def send_words(self, start, words):
self.send('WORDS(%d): %s' % (start, words))
self.send('/words/%d/%s' % (start, words))
class Server:
def __init__(self, host = '127.0.0.1', port = 1234):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment