Commit 224b9cc4 authored by Romain Courteaud's avatar Romain Courteaud

Forgot to remove this line in previous commit.

parent 3ac1d702
...@@ -79,7 +79,6 @@ class DownloadableMixin: ...@@ -79,7 +79,6 @@ class DownloadableMixin:
return self.view() return self.view()
if format is _MARKER: if format is _MARKER:
format = None format = None
self._checkConversionFormatPermission(format, **kw)
if not self.checkConversionFormatPermission(format, **kw): if not self.checkConversionFormatPermission(format, **kw):
raise Forbidden('You are not allowed to get this document in this ' \ raise Forbidden('You are not allowed to get this document in this ' \
'format') 'format')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment