protocols/remote_exec: fix call

This commit is contained in:
Sebastien Bourdeauducq 2016-03-25 14:55:29 +08:00
parent 590bedbd1e
commit e9ca125976
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class RemoteExecServer:
exec(code, self.namespace) exec(code, self.namespace)
def call(self, function, *args, **kwargs): def call(self, function, *args, **kwargs):
return self.namespace[k](self, *args, **kwargs) return self.namespace[function](self, *args, **kwargs)
class RemoteExecClient(RPCClient): class RemoteExecClient(RPCClient):