diff libervia/pages/blog/view/page_meta.py @ 1403:1357d04107d1

pages (blog/view): set empty comments when comments node is missing
author Goffi <goffi@goffi.org>
date Sat, 27 Mar 2021 15:23:49 +0100
parents 1b94a5ab155f
children cffa3ae4d0aa
line wrap: on
line diff
--- a/libervia/pages/blog/view/page_meta.py	Thu Mar 25 10:29:40 2021 +0100
+++ b/libervia/pages/blog/view/page_meta.py	Sat Mar 27 15:23:49 2021 +0100
@@ -127,6 +127,7 @@
                         service=service,
                         node=node,
                         msg=e))
+                comment_data['items'] = []
                 continue
 
             comments = data_format.deserialise(comments_data)