PEP8 reformat
This commit is contained in:
parent
7118af3c15
commit
ba3d4feab5
@ -4,9 +4,7 @@ from flask import request, current_app, abort
|
|||||||
from functools import wraps
|
from functools import wraps
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def json_required(f):
|
def json_required(f):
|
||||||
|
|
||||||
@wraps(f)
|
@wraps(f)
|
||||||
def call(*args, **kwargs):
|
def call(*args, **kwargs):
|
||||||
|
|
||||||
@ -16,4 +14,3 @@ def json_required(f):
|
|||||||
abort(400, "JSON required")
|
abort(400, "JSON required")
|
||||||
|
|
||||||
return call
|
return call
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user