From a643da2c5edef5e83aef000a5371410f4c3e9fe9 Mon Sep 17 00:00:00 2001 From: occheung Date: Wed, 2 Oct 2024 15:51:43 +0800 Subject: [PATCH] fix frontend args reference --- artiq/frontend/aqctl_corelog.py | 2 +- artiq/frontend/artiq_coremgmt.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/aqctl_corelog.py b/artiq/frontend/aqctl_corelog.py index 49f5b2565..cd954f590 100755 --- a/artiq/frontend/aqctl_corelog.py +++ b/artiq/frontend/aqctl_corelog.py @@ -100,7 +100,7 @@ def main(): signal_handler.setup() try: get_logs_task = asyncio.ensure_future( - get_logs_sim(args.core_addr) if args.simulation else get_logs(args.core_addr, args.satellite), + get_logs_sim(args.core_addr) if args.simulation else get_logs(args.core_addr, args.drtio_dest), loop=loop) try: server = Server({"corelog": PingTarget()}, None, True) diff --git a/artiq/frontend/artiq_coremgmt.py b/artiq/frontend/artiq_coremgmt.py index d2163a5bc..903a5615f 100755 --- a/artiq/frontend/artiq_coremgmt.py +++ b/artiq/frontend/artiq_coremgmt.py @@ -136,7 +136,7 @@ def main(): core_addr = ddb.get("core", resolve_alias=True)["arguments"]["host"] else: core_addr = args.device - mgmt = CommMgmt(core_addr, drtio_dest=args.satellite) + mgmt = CommMgmt(core_addr, drtio_dest=args.drtio_dest) if args.tool == "log": if args.action == "set_level":