fix artiq path access

This commit is contained in:
Sebastien Bourdeauducq 2019-02-19 01:16:07 +08:00
parent bd3b6aa0b8
commit 9ba850da7f

View File

@ -27,7 +27,7 @@ with open(hydra_log, "w") as log:
#run("ping", "kc705-1", "-c10", "-w30")
env = {
"ARTIQ_ROOT": artiq.__path__ + "/examples/kc705_nist_clock",
"ARTIQ_ROOT": artiq.__path__[0] + "/examples/kc705_nist_clock",
"ARTIQ_LOW_LATENCY": "1"
}
env.update(os.environ)