fixes oscHandler syntax error in python