Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not call function without parameters #33

Open
padmalcom opened this issue Oct 28, 2020 · 1 comment
Open

Can not call function without parameters #33

padmalcom opened this issue Oct 28, 2020 · 1 comment

Comments

@padmalcom
Copy link
Collaborator

It seems that I cannot call a function without parameter. I have a very simple dialog ("what time is it?", "it is 12 o'clock") that does not require a parameter. When I create a block like:

{% block %}
    {% client %}(what time is it){% endclient %}
    {% response %}{% call time %}{% endresponse %}
{% endblock %}

The response is simply "time" instead of the result of calling time. When I add a dummy variable and use {% call time:0 %} it works well.

@ps0607
Copy link

ps0607 commented Apr 22, 2024

maybe you could call {% get_current_time %} instead of {%call time %)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants