2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 03:56:43 +00:00
This commit is contained in:
Oliver Walters 2020-08-20 14:05:55 +10:00
parent 64ae181bf6
commit 8e0dfa9c6f

View File

@ -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")