From cbd438bdc5a3c76a81cde1083686ad5fc989bc2a Mon Sep 17 00:00:00 2001 From: Benoit Favre <benoit.favre@lif.univ-mrs.fr> Date: Fri, 27 Feb 2015 11:16:32 +0100 Subject: [PATCH] change osc urls --- osc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc.py b/osc.py index 212f3e5..3121498 100644 --- a/osc.py +++ b/osc.py @@ -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): -- GitLab