From d2f84b539ef715df0fa6c779e2c28ae56d4de238 Mon Sep 17 00:00:00 2001 From: Meekdai Date: Thu, 14 Dec 2023 21:54:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=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?=E6=8A=93=E5=8F=96=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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Gmeek.py b/Gmeek.py index a097975..cf3ff5c 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -220,7 +220,10 @@ class GMEEK(): period="。" else: period="." - self.blogBase[listJsonName][postNum]["description"]=issue.body.split(period)[0]+period + try: + self.blogBase[listJsonName][postNum]["description"]=issue.body.split(period)[0]+period + except: + self.blogBase[listJsonName][postNum]["description"]='' self.blogBase[listJsonName][postNum]["top"]=0 for event in issue.get_events():