@response_server.route('/waitmusic/', methods=['GET', 'POST'])
def waitmusic():
    if request.method == 'POST':
        print request.form.items()
    else:
        print request.args.items()
    r = plivohelper.Response()
    r.addSpeak("Please wait")
    r.addSpeak("Be patient")
    #r.addPlay("http://127.0.0.1:5000/static/duck.mp3")
    r.addPlay("/usr/local/freeswitch/sounds/en/us/callie/ivr/8000/ivr-welcome.wav")
    print r % "RESTXML Response => %s"
    return render_template('response_template.xml', response=r)
dataset/ETHPy150Open plivo/plivohelper-python/tests/conference.py/waitmusic/swapped operands of `%`