diff --git a/app/templates/views/activity/notifications.html b/app/templates/views/activity/notifications.html index 09ab70657..0107ff815 100644 --- a/app/templates/views/activity/notifications.html +++ b/app/templates/views/activity/notifications.html @@ -19,7 +19,7 @@ {% if item.status in ('pending-virus-check', 'virus-scan-failed') %} Checking {% else %} - {{ item.to.split('\n')[0] }} + {{ item.to.splitlines()[0] }} {% endif %}
{{ item.preview_of_content }}