forked from M-Labs/artiq
artiq_ddb_template: fix --satellite
This commit is contained in:
parent
d79a6ee41c
commit
d39338d59f
|
@ -353,7 +353,7 @@ def main():
|
||||||
satellites = []
|
satellites = []
|
||||||
for destination, description in args.satellite:
|
for destination, description in args.satellite:
|
||||||
with open(description, "r") as f:
|
with open(description, "r") as f:
|
||||||
satellites.append((destination, json.load(f)))
|
satellites.append((int(destination, 0), json.load(f)))
|
||||||
|
|
||||||
if args.output is not None:
|
if args.output is not None:
|
||||||
with open(args.output, "w") as f:
|
with open(args.output, "w") as f:
|
||||||
|
|
Loading…
Reference in New Issue