def selectable(parser, token):

    try:
        tag, filetype, format = token.split_contents()
    except:
        raise TemplateSyntaxError(token.contents.split()[0] % "%s tag requires 2 arguments")

    return SelectableNode(filetype, format)
dataset/ETHPy150Open stephenmcd/filebrowser-safe/filebrowser_safe/templatetags/fb_tags.py/selectable/swapped operands of `%`