{# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for #}
{# more information about the licensing of this file. #}
{% if available_filetypes|length != 1 %}
{% else %}
{% endif %}
{% if task_data.get('author',[]) is not string %}
{% set a= task_data.get('author',[]) or [] | join(', ') %}
{% else %}
{% set a = task_data.get('author',[]) %}
{% endif %}
{% set stored_submissions = task_data.get('stored_submissions', 0) %}
{% set submission_limit = task_data.get('submission_limit', {"amount":-1, "period":-1}) %}
{% set at = AccessibleTime(task_data.get('accessible',True)) %}
{% set n_inputs_random = task_data.get('input_random', 0) %}