Commit graph

2 commits

Author SHA1 Message Date
Job Evers-Meltzer
5aecd02668 Refactor jsonrpc_get.
Move parameter handling into its own function and
better use the `.get()` function for dictionaries.

Early return on the failed checks is more readable.

The lambda function in the callback was long and
hard to read so moved it out.
2016-07-15 11:32:46 -05:00
Job Evers
53af9db285 add tests and linting 2016-05-27 15:46:00 -05:00