forked from M-Labs/artiq
protocols/remote_exec: fix call
This commit is contained in:
parent
590bedbd1e
commit
e9ca125976
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue