fix code typo (#20478)
This commit is contained in:
parent
bcdfdc0cc3
commit
1839c8699d
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class LookupModule(LookupBase):
|
||||||
elif isinstance(result, dict):
|
elif isinstance(result, dict):
|
||||||
new_dict = {}
|
new_dict = {}
|
||||||
for key in result.keys():
|
for key in result.keys():
|
||||||
value = reslut[key] # python2 and 3 compatible....
|
value = result[key] # python2 and 3 compatible....
|
||||||
new_dict[key] = self.convert_mongo_result_to_valid_json(value)
|
new_dict[key] = self.convert_mongo_result_to_valid_json(value)
|
||||||
return new_dict
|
return new_dict
|
||||||
elif isinstance(result, datetime.datetime):
|
elif isinstance(result, datetime.datetime):
|
||||||
|
|
Loading…
Reference in a new issue