Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nizox committed Jun 29, 2020
1 parent dbe0539 commit b1e13f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_mini_racer/py_mini_racer.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def call(self, identifier, *args, **kwargs):
""" Stricter Call with JSON serialization of returned value.
"""
json_args = self.json_impl.dumps(args, separators=(',', ':'),
cls=kwargs.get("encoder"))
cls=kwargs.pop("encoder", None))
js = "JSON.stringify({identifier}.apply(this, {json_args}))"
ret = self.eval(js.format(identifier=identifier, json_args=json_args),
**kwargs)
Expand Down

0 comments on commit b1e13f7

Please # to comment.