From d39338d59fd84762d02ed035726fc8d8916d6c9a Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 23 Feb 2019 15:27:18 +0800 Subject: [PATCH] artiq_ddb_template: fix --satellite --- artiq/frontend/artiq_ddb_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_ddb_template.py b/artiq/frontend/artiq_ddb_template.py index 42466d541..a625a2fc7 100755 --- a/artiq/frontend/artiq_ddb_template.py +++ b/artiq/frontend/artiq_ddb_template.py @@ -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: