cleanup getPath response
This commit is contained in:
parent
d87a7ce181
commit
f3605569fa
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ def getPath(request):
|
||||||
}
|
}
|
||||||
'''
|
'''
|
||||||
data = json.loads(request.POST['data'])
|
data = json.loads(request.POST['data'])
|
||||||
response = json_response({'path': {}})
|
response = json_response()
|
||||||
ids = data['id']
|
ids = data['id']
|
||||||
if isinstance(ids, basestring):
|
if isinstance(ids, basestring):
|
||||||
ids = [ids]
|
ids = [ids]
|
||||||
|
|
Loading…
Reference in a new issue