artiq_ddb_template: fix --satellite

This commit is contained in:
Sebastien Bourdeauducq 2019-02-23 15:27:18 +08:00
parent d79a6ee41c
commit d39338d59f

View File

@ -353,7 +353,7 @@ def main():
satellites = []
for destination, description in args.satellite:
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:
with open(args.output, "w") as f: