Commit e2d933e1 authored by Cosmia Luna's avatar Cosmia Luna

pass positional argument to inner

parent c8102977
......@@ -48,7 +48,7 @@ def expose_plugview(url='/'):
# Base views
def _wrap_view(f):
@wraps(f)
def inner(self, **kwargs):
def inner(self, *args, **kwargs):
# Store current admin view
h.set_current_view(self)
......@@ -57,7 +57,7 @@ def _wrap_view(f):
if abort is not None:
return abort
return f(self, **kwargs)
return f(self, *args, **kwargs)
return inner
......
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