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

Forgot to remove this line in previous commit.

parent 3ac1d702
No related merge requests found
......@@ -79,7 +79,6 @@ class DownloadableMixin:
return self.view()
if format is _MARKER:
format = None
self._checkConversionFormatPermission(format, **kw)
if not self.checkConversionFormatPermission(format, **kw):
raise Forbidden('You are not allowed to get this document in this ' \
'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