mirror of
https://github.com/gwm17/catima.git
synced 2025-01-30 17:58:49 -05:00
json update
This commit is contained in:
parent
dbcf2f0272
commit
56cb0f0d2f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user