From ffd230c1092e79dcc24cafa437291e6649ea3941 Mon Sep 17 00:00:00 2001 From: Meekdai Date: Thu, 11 Jul 2024 09:15:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=AA=E6=9C=89=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E6=B2=A1=E6=9C=89=E6=96=87=E7=AB=A0=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84=E8=8E=B7=E5=8F=96=E5=AD=97=E6=95=B0?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gmeek.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gmeek.py b/Gmeek.py index c14088e..f72f06a 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -327,11 +327,12 @@ class GMEEK(): self.blogBase[listJsonName][postNum]["postSourceUrl"]="https://github.com/"+options.repo_name+"/issues/"+str(issue.number) self.blogBase[listJsonName][postNum]["commentNum"]=issue.get_comments().totalCount - self.blogBase[listJsonName][postNum]["wordCount"]=len(issue.body) if issue.body==None: self.blogBase[listJsonName][postNum]["description"]='' + self.blogBase[listJsonName][postNum]["wordCount"]=0 else: + self.blogBase[listJsonName][postNum]["wordCount"]=len(issue.body) if self.blogBase["rssSplit"]=="sentence": if self.blogBase["i18n"]=="CN": period="。"