artiq_ddb_template: fix --satellite

pull/1287/head
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 = []
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: