From 729868429a500993cdae6f599f03110830ec3195 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 3 Mar 2023 22:54:37 +0100 Subject: [PATCH] appsv2: when hydrating template, the data may be not-string, eg ports are int --- src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index 6a7e49e04..7fc74a4cb 100644 --- a/src/app.py +++ b/src/app.py @@ -2233,7 +2233,7 @@ def _hydrate_app_template(template, data): varname = stuff.strip("_").lower() if varname in data: - template = template.replace(stuff, data[varname]) + template = template.replace(stuff, str(data[varname])) return template