fix: new tiramisu version support
This commit is contained in:
parent
41a65ef2e5
commit
aa7bf6562e
2 changed files with 1 additions and 2 deletions
|
|
@ -290,7 +290,6 @@ types:
|
|||
functions_files:
|
||||
description: {_("File with functions")}
|
||||
help: {_("This file contains filters and additional Jinja2 functions usable in structure files")}
|
||||
alternative_name: c
|
||||
type: unix_filename
|
||||
params:
|
||||
allow_relative: true
|
||||
|
|
|
|||
|
|
@ -496,7 +496,7 @@ class UserData:
|
|||
# it's a function
|
||||
params = tuple([ParamValue(val) for val in value[1:]])
|
||||
value = Calculation(value[0], Params(params, kwargs={"option": ParamValue(option)}))
|
||||
option.forcepermissive()
|
||||
option = option.forcepermissive
|
||||
add_validation = True
|
||||
else:
|
||||
add_validation = False
|
||||
|
|
|
|||
Loading…
Reference in a new issue