@app.route('/room_info', methods=['POST'])
def on_room_info():
    print 'room_info', request.form
    user = rtc.get_current_user()
    room = request.form['room']
    encryption, browser, browser_version = '', '', ''
    if encryption in room:
        encryption = rtc.encryption[room]
        browser = rtc.browser[room]
        browser_version = rtc.browser_version[room]
    user.emit('receive_room_info',
        encryption=encryption,
        browser=browser,
        browser_version=browser_version
    )
    return jsonify(success=True)
dataset/ETHPy150Open chalasr/Flask-P2P/app.py/on_room_info/swapped operands of `in`