def minified_response(f):
    @wraps(f)
    def minify(*args, **kwargs):
        response = f(*args, **kwargs)
        minifiable_status = response.status_code == 200
        minifiable_content = response['Content-Type'] in 'text/html'
        if minifiable_status and minifiable_content:
            response.content = html_minify(response.content)
        return response

    return minify
dataset/ETHPy150Open cobrateam/django-htmlmin/htmlmin/decorators.py/minified_response/swapped operands of `in`