def converter(query):
    """method for decoding urls <query>:<str>"""
    try:
        from . import url_coder
    except ImportError:
        import url_coder
    query = url_coder.decoder(str(query))
    return query
