From a73099154f38b170e3032c074c426ebd82608fa3 Mon Sep 17 00:00:00 2001 From: mbauskar Date: Fri, 13 Oct 2017 19:44:27 +0530 Subject: [PATCH] [minor] fixed TypeError: 'NoneType' object has no attribute '__getitem__' --- foundation/www/service-providers.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foundation/www/service-providers.html b/foundation/www/service-providers.html index 316f8c76..2d703af5 100644 --- a/foundation/www/service-providers.html +++ b/foundation/www/service-providers.html @@ -34,8 +34,8 @@ {% macro show_member(s) %}

- {{ s.title[:25] }}
- {{ s.introduction[:100] }} + {{ s.title and s.title[:25] }}
+ {{ s.introduction and s.introduction[:100] }}

{% endmacro %}