Skip to content

Commit 6367020

Browse files
author
attwad
committed
updated readme with correct example
1 parent 752c1bd commit 6367020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ Simple server
8787
from pythonosc import dispatcher
8888
from pythonosc import osc_server
8989
90-
def print_volume_handler(args, volume):
90+
def print_volume_handler(unused_addr, args, volume):
9191
print("[{0}] ~ {1}".format(args[0], volume))
9292
93-
def print_compute_handler(args, volume):
93+
def print_compute_handler(unused_addr, args, volume):
9494
try:
9595
print("[{0}] ~ {1}".format(args[0], args[1](volume)))
9696
except ValueError: pass

0 commit comments

Comments
 (0)