Sfoglia il codice sorgente

[pelican_comment_system] Fixes the "all comment feed" to work with the i18n_subsites plugin

Bernhard Scheirle 10 anni fa
parent
commit
01adbcb375
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      pelican_comment_system/pelican_comment_system.py

+ 1 - 0
pelican_comment_system/pelican_comment_system.py

@@ -202,6 +202,7 @@ def pelican_finalized(pelican):
         return
     global _all_comments
     print('Processed %s comment(s)' % len(_all_comments))
+    _all_comments = []
 
 
 def register():