cleanup getPath response

This commit is contained in:
j 2012-09-11 15:39:49 +02:00
parent d87a7ce181
commit f3605569fa

View file

@ -447,7 +447,7 @@ def getPath(request):
}
'''
data = json.loads(request.POST['data'])
response = json_response({'path': {}})
response = json_response()
ids = data['id']
if isinstance(ids, basestring):
ids = [ids]