summaryrefslogtreecommitdiff
path: root/template.py
diff options
context:
space:
mode:
Diffstat (limited to 'template.py')
-rwxr-xr-xtemplate.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/template.py b/template.py
index c731c9c..41d5945 100755
--- a/template.py
+++ b/template.py
@@ -17,6 +17,7 @@ import glob
import codecs
import os
import os.path
+import subprocess
env = jinja2.Environment(loader=jinja2.FileSystemLoader(os.path.dirname(__file__)),
extensions=["jinja2.ext.i18n"],
@@ -33,6 +34,7 @@ default_ctx["intro_url"] = os.environ.get("TALER_ENV_URL_INTRO", "#")
default_ctx["bank_url"] = os.environ.get("TALER_ENV_URL_BANK", "#")
default_ctx["auditor_url"] = os.environ.get("TALER_ENV_URL_AUDITOR", "#")
default_ctx["currency"] = os.environ.get("TALER_CONFIG_CURRENCY", "??")
+default_ctx["auditor_pub"] = subprocess.check_output(["gnunet-ecc", "-p", os.path.expanduser("~/.local/share/taler/auditor/offline-keys/auditor.priv")])
for in_file in glob.glob("*.j2"):