X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/aac18e2d101a237381f92ff26557286e623a4a22..0f85687b659a680eaec03dedc7b0060731983463:/apps/api/utils.py diff --git a/apps/api/utils.py b/apps/api/utils.py index 37a89a29..19309ff6 100644 --- a/apps/api/utils.py +++ b/apps/api/utils.py @@ -35,7 +35,7 @@ def validate_form(formclass, source='GET'): def decorator(func): @wraps(func) - def decorated(self, request, * args, ** kwargs): + def decorated(self, request, *args, **kwargs): form = formclass(getattr(request, source), request.FILES) if not form.is_valid():