mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
appsv2: when hydrating template, the data may be not-string, eg ports are int
This commit is contained in:
parent
9f211d39f9
commit
729868429a
1 changed files with 1 additions and 1 deletions
|
@ -2233,7 +2233,7 @@ def _hydrate_app_template(template, data):
|
||||||
varname = stuff.strip("_").lower()
|
varname = stuff.strip("_").lower()
|
||||||
|
|
||||||
if varname in data:
|
if varname in data:
|
||||||
template = template.replace(stuff, data[varname])
|
template = template.replace(stuff, str(data[varname]))
|
||||||
|
|
||||||
return template
|
return template
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue