Skip to content

Commit 17ac64a

Browse files
committedJan 30, 2016
ctlmgr: fix the fix (107e2fe)
1 parent d05d720 commit 17ac64a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎artiq/devices/ctlmgr.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ async def call(self, method, *args, **kwargs):
4141
try:
4242
targets, _ = remote.get_rpc_id()
4343
remote.select_rpc_target(targets[0])
44-
r = await getattr(remote, method)()
44+
r = await getattr(remote, method)(*args, **kwargs)
4545
finally:
4646
remote.close_rpc()
4747
return r
4848

4949
async def _ping(self):
5050
try:
51-
ok = await asyncio.wait_for(self._call_controller("ping"),
51+
ok = await asyncio.wait_for(self.call("ping"),
5252
self.ping_timeout)
5353
if ok:
5454
self.retry_timer_cur = self.retry_timer

0 commit comments

Comments
 (0)
Please sign in to comment.