From 402ad56be2bf31fccc9fcfac315f768177ae21d2 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Fri, 13 Aug 2010 18:16:22 +0000 Subject: [PATCH] format can not being _MARKER for the next statements. override its value with None git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37819 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/mixin/downloadable.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/ERP5/mixin/downloadable.py b/product/ERP5/mixin/downloadable.py index 746e56f5e1..cacb8244f2 100644 --- a/product/ERP5/mixin/downloadable.py +++ b/product/ERP5/mixin/downloadable.py @@ -75,6 +75,8 @@ class DownloadableMixin: # By default allways return view action. # for all WevDAV access return raw content. return self.view() + if format is _MARKER: + format = None self._checkConversionFormatPermission(format, **kw) mime, data = self.convert(format, **kw) if not format: -- 2.30.9