fix hasChilds

This commit is contained in:
Ivan Smolin 2017-06-09 15:36:25 +03:00
parent e96f917b3f
commit ae3eb5bb21
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
import ObjectMapper
/// {{ description }}
{% if hasChilds is empty -%}final {% endif %}class {{ className }}: {{ parentClassName }} {
{% if (not hasChilds) -%}final {% endif %}class {{ className }}: {{ parentClassName }} {
{% include 'Class.fields.swig' with { fields: fields } %}
{% include 'Class.date-transformers.swig' with { fields: fields } %}