diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-21 12:56:16 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-21 12:56:16 +0100 |
commit | a8b8258e12f8e04936bffd82a2e31be7117ec860 (patch) | |
tree | ebd159531f6a8ab552579835c85286e8a8016777 /contrib/render.py | |
parent | 2ace9969b7e1ede610ff99546c5a84f59adf0931 (diff) | |
download | exchange-a8b8258e12f8e04936bffd82a2e31be7117ec860.tar.xz |
steps towards new split-auditor logic
Diffstat (limited to 'contrib/render.py')
-rwxr-xr-x | contrib/render.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/contrib/render.py b/contrib/render.py index 2290e92f8..cd50f7164 100755 --- a/contrib/render.py +++ b/contrib/render.py @@ -36,6 +36,18 @@ jsonData1 = json.load(jsonFile1) jsonFile2 = open (sys.argv[2], 'r') jsonData2 = json.load(jsonFile2) +jsonFile3 = open (sys.argv[3], 'r') +jsonData3 = json.load(jsonFile3) + +jsonFile4 = open (sys.argv[4], 'r') +jsonData4 = json.load(jsonFile4) + +jsonFile5 = open (sys.argv[5], 'r') +jsonData5 = json.load(jsonFile5) + +jsonFile6 = open (sys.argv[6], 'r') +jsonData6 = json.load(jsonFile6) + jinjaEnv = jinja2.Environment(loader=StdinLoader(), lstrip_blocks=True, trim_blocks=True, @@ -43,4 +55,4 @@ jinjaEnv = jinja2.Environment(loader=StdinLoader(), autoescape=False) tmpl = jinjaEnv.get_template('stdin'); -print(tmpl.render(data = jsonData1, wire = jsonData2)) +print(tmpl.render(data = jsonData1, wire = jsonData2, aggregation = jsonData3, coins = jsonData4, deposits = jsonData5, reserves = jsonData6)) |