From 292f0bbd6727c3d571e3a9247bcb50b15b25030e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=86=E7=93=9C=E4=BA=91?= Date: Thu, 3 Aug 2023 11:13:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=89=E8=87=AA=E5=AE=9A=E4=B9=89Json?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=9A=84=E6=97=B6=E5=80=99=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E4=B8=80=E4=B8=8B=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gmeek.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Gmeek.py b/Gmeek.py index 68d89ff..be490e3 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -141,8 +141,11 @@ class GMEEK(): try: postConfig=json.loads(issue.body.split("\r\n")[-1:][0].split("##")[1]) + print("Has Custom JSON parameters") + print(postConfig) except: postConfig={} + print("No Custom JSON parameters") if "timestamp" in postConfig: self.blogBase["postListJson"][postNum]["createdAt"]=postConfig["timestamp"]