Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Commit

Permalink
nicer formatting (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcnmx authored and iliana committed Oct 27, 2017
1 parent 523f83e commit e2fcdb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ pub fn handler<F, O>(py: Python, f: F, py_event: PyObject, py_context: PyObject)
}).and_then(|v| serde_json::value::to_value(v)
.map_err(cpython_json::JsonError::SerdeJsonError)
.map_err(|e| e.to_pyerr(py))
.and_then(|v| from_json(py, v).map_err(|e| e.to_pyerr(py)))
).and_then(|v| from_json(py, v)
.map_err(|e| e.to_pyerr(py))
)
}

Expand Down

0 comments on commit e2fcdb2

Please sign in to comment.