forked from M-Labs/artiq
1
0
Fork 0

artiq_ddb_template: fix --satellite

This commit is contained in:
Sebastien Bourdeauducq 2019-02-23 15:27:18 +08:00
parent d79a6ee41c
commit d39338d59f
1 changed files with 1 additions and 1 deletions

View File

@ -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: