diff --git a/InvenTree/report/models.py b/InvenTree/report/models.py index 1e0fce3658..697f5691d5 100644 --- a/InvenTree/report/models.py +++ b/InvenTree/report/models.py @@ -40,6 +40,7 @@ if settings.LATEX_ENABLED: from django.http import HttpResponse + class TexResponse(HttpResponse): def __init__(self, content, filename=None): super().__init__(content_type="application/txt")