@register.simple_tag
def persist_getvars(request):
    getvars = request.GET.copy()
    if len(getvars.keys()) > 0:
        return getvars.urlencode() % "?%s"
    return ''
dataset/ETHPy150Open caseywstark/colab/colab/apps/issues/templatetags/issues_tags.py/persist_getvars/swapped operands of `%`