fix code typo (#20478)

This commit is contained in:
Marcos Diez 2017-01-19 21:47:01 -03:00 committed by Matt Davis
parent bcdfdc0cc3
commit 1839c8699d

View file

@ -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):