diff --git a/muk_fields_lobject/controllers/main.py b/muk_fields_lobject/controllers/main.py index a02a8bb..592dfcc 100644 --- a/muk_fields_lobject/controllers/main.py +++ b/muk_fields_lobject/controllers/main.py @@ -37,7 +37,8 @@ def lobject_content(xmlid=None, model=None, id=None, field='content', unique=Fal class LargeObjectController(http.Controller): - @http.route(['/web/lobject', + @http.route([ + '/web/lobject', '/web/lobject/', '/web/lobject//', '/web/lobject/', @@ -45,7 +46,8 @@ class LargeObjectController(http.Controller): '/web/lobject/-', '/web/lobject/-/', '/web/lobject///', - '/web/lobject////'], type='http', auth="public") + '/web/lobject////' + ], type='http', auth="public") def content_lobject(self, xmlid=None, model=None, id=None, field='content', filename=None, filename_field='content_fname', unique=None, mimetype=None, download=None, data=None, token=None):