diff --git a/artiq/protocols/remote_exec.py b/artiq/protocols/remote_exec.py index 621e97b8b..be0bf3642 100644 --- a/artiq/protocols/remote_exec.py +++ b/artiq/protocols/remote_exec.py @@ -17,7 +17,7 @@ class RemoteExecServer: exec(code, self.namespace) def call(self, function, *args, **kwargs): - return self.namespace[k](self, *args, **kwargs) + return self.namespace[function](self, *args, **kwargs) class RemoteExecClient(RPCClient):