1
0
Fork 0
mirror of https://github.com/gwm17/catima.git synced 2025-01-30 17:58:49 -05:00

json update

This commit is contained in:
hrocho 2017-10-17 16:05:55 +02:00
parent dbcf2f0272
commit 56cb0f0d2f

View File

@ -245,12 +245,9 @@ cdef class MultiResult:
def getJSON(self):
res = {}
res["total"] = self.total
res["result"] = self.total
res["partial"] = []
for r in self.results:
#print(r)
#temp = Result()
#temp.setc(r)
res["partial"].append(r)
return res