有自定义Json参数的时候打印一下日志
This commit is contained in:
parent
04acc85a9a
commit
292f0bbd67
3
Gmeek.py
3
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"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user