def filter_renderers(self, renderers, format):
        """
        If there is a '.json' style format suffix, filter the renderers
        so that we only negotiation against those that accept that format.
        If there is no renderer available, we use MediaFileRenderer.
        """
        renderers = [renderer for renderer in renderers
                     if renderer.format == format]
        if not renderers:
            renderers = [MediaFileRenderer()]

        return renderers
dataset/ETHPy150Open kobotoolbox/kobocat/onadata/libs/renderers/renderers.py/MediaFileContentNegotiation.filter_renderers/original