view @ 8:a794183069ad 5.6 tip

Update to 5.6 series
author Cédric Krier <>
date Fri, 17 Jul 2020 13:40:05 +0200
parents 567ba1b8cd49
line wrap: on
line source

# This file is part of Tryton.  The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from werkzeug.wrappers import Response

from import file_open
from trytond.wsgi import app

def empty(request):
    fp = file_open('marketing_email/empty.gif', mode='rb')
    return Response(fp, 200, content_type='image/gif', direct_passthrough=True)