mbr / tinyrpc

A compact, modular transport and protocol agnostic RPC library. Does jsonrpc v2.
https://tinyrpc.readthedocs.org
MIT License
156 stars 53 forks source link

Fixed arguments not being passed to custom caller correctly #60

Closed TheSaw closed 6 years ago

TheSaw commented 6 years ago

The arguments are not passed correctly from dispatch() to the custom caller. For example, if we have a method with 0 arguments, the caller will nevertheless try to pass args and kwargs, resulting in a runtime error of 2 arguments passed when expecting 0. In my tests this fixes it, can someone confirm?

TheSaw commented 6 years ago

Okay, I made a mistake. Sorry. Closing this :)