__author__ = 'idfl'


def urlencoding(param):
    param = param.__str__()
    if '_' in param:
        return param.replace('_', ' ')
    elif ' ' in param:
        return param.replace(' ', '_')
    else:
        return param

54905961f5da67d188acd3d289b59b48346852ab
<mask token>

<mask token>


def urlencoding(param):
    param = param.__str__()
    if '_' in param:
        return param.replace('_', ' ')
    elif ' ' in param:
        return param.replace(' ', '_')
    else:
        return param

__author__ = 'idfl'


def urlencoding(param):
    param = param.__str__()
    if '_' in param:
        return param.replace('_', ' ')
    elif ' ' in param:
        return param.replace(' ', '_')
    else:
        return param
