Преглед изворни кода

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

Bernhard Scheirle пре 10 година
родитељ
комит
01adbcb375
1 измењених фајлова са 1 додато и 0 уклоњено
  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():