Browse Source

changed excel mime type to generic

pull/1/head
Holger Frey 5 years ago
parent
commit
f59a8a9240
  1. 2
      production.ini.template
  2. 2
      superx_budget/pyramid/__init__.py

2
production.ini.template

@ -12,7 +12,7 @@ pwd.db = @@ -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 =

2
superx_budget/pyramid/__init__.py

@ -11,7 +11,7 @@ from pyramid.httpexceptions import HTTPFound @@ -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:

Loading…
Cancel
Save