fix: 修复编辑issue内容后触发workflow时报[KeyError: 'ogImage']的错误
This commit is contained in:
parent
8e6813fd7c
commit
ea2671c284
2
Gmeek.py
2
Gmeek.py
@ -460,6 +460,8 @@ for i in blog.blogBase["postListJson"]:
|
||||
del blog.blogBase["postListJson"][i]["script"]
|
||||
del blog.blogBase["postListJson"][i]["style"]
|
||||
del blog.blogBase["postListJson"][i]["top"]
|
||||
|
||||
if 'ogImage' in blog.blogBase["postListJson"][i]:
|
||||
del blog.blogBase["postListJson"][i]["ogImage"]
|
||||
|
||||
if 'commentNum' in blog.blogBase["postListJson"][i]:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user