Update signals.py

allow zipfile upload
This commit is contained in:
Thomas 2023-11-02 16:36:44 +01:00 committed by GitHub
parent 0def30210c
commit 899c802c9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ def tesseract_consumer_declaration(sender, **kwargs):
"parser": get_parser, "parser": get_parser,
"weight": 0, "weight": 0,
"mime_types": { "mime_types": {
"application/zip": ".zip",
"application/pdf": ".pdf", "application/pdf": ".pdf",
"image/jpeg": ".jpg", "image/jpeg": ".jpg",
"image/png": ".png", "image/png": ".png",