This commit is contained in:
2025-03-03 14:15:20 +08:00
parent fff20610a5
commit 1f9632761f
3 changed files with 45 additions and 1 deletions

View File

@ -105,6 +105,9 @@ def get_template_info(template_id):
_only_if = template_info.get('onlyIf', '')
if _only_if:
_template['only_if'] = _only_if
_effects = template_info.get('effects', '')
if _effects:
_template['effects'] = _effects.split("|")
return _template
# outer template definition