From f59a8a9240a0f22262e18cd623fbd8271df5d109 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Thu, 26 Mar 2020 12:36:00 +0100 Subject: [PATCH] changed excel mime type to generic --- production.ini.template | 2 +- superx_budget/pyramid/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/production.ini.template b/production.ini.template index eba52e6..f5b12b8 100644 --- a/production.ini.template +++ b/production.ini.template @@ -12,7 +12,7 @@ pwd.db = auth.secret = "change me in production" session.secret = "change me in production" -budgets.dir = %(here)s/bugets +budgets.dir = %(here)s/budgets pyramid.reload_templates = false pyramid.includes = diff --git a/superx_budget/pyramid/__init__.py b/superx_budget/pyramid/__init__.py index 535313d..a9d86b9 100644 --- a/superx_budget/pyramid/__init__.py +++ b/superx_budget/pyramid/__init__.py @@ -11,7 +11,7 @@ from pyramid.httpexceptions import HTTPFound from ..overview import create_overview # noqa: F401 from ..exceptions import BudgetParserError, SuperXParserError # noqa: F401 -XLSX_CONTENT_TYPE = "application/vnd.ms-excel" +XLSX_CONTENT_TYPE = "application/octet-stream" class Root: