bugfix
This commit is contained in:
parent
9ad08bc745
commit
81fc51f2e1
@ -235,7 +235,7 @@ class JsonHttpAPI:
|
|||||||
ns1 = self.env.copy()
|
ns1 = self.env.copy()
|
||||||
ns1.update(resp)
|
ns1.update(resp)
|
||||||
rets = self.te.renders(resptmpl, ns1)
|
rets = self.te.renders(resptmpl, ns1)
|
||||||
ret = json.loads(rets))
|
ret = json.loads(rets)
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user