mirror of https://github.com/Meekdai/Gmeek.git
Update Gmeek.py
This commit is contained in:
parent
30e09c6aab
commit
148a6aaf78
4
Gmeek.py
4
Gmeek.py
|
|
@ -484,10 +484,12 @@ for i in blog.blogBase["postListJson"]:
|
|||
del blog.blogBase["postListJson"][i]["createdAt"]
|
||||
del blog.blogBase["postListJson"][i]["script"]
|
||||
del blog.blogBase["postListJson"][i]["style"]
|
||||
del blog.blogBase["postListJson"][i]["head"]
|
||||
del blog.blogBase["postListJson"][i]["top"]
|
||||
del blog.blogBase["postListJson"][i]["ogImage"]
|
||||
|
||||
if 'head' in blog.blogBase["postListJson"][i]:
|
||||
del blog.blogBase["postListJson"][i]["head"]
|
||||
|
||||
if 'commentNum' in blog.blogBase["postListJson"][i]:
|
||||
commentNumSum=commentNumSum+blog.blogBase["postListJson"][i]["commentNum"]
|
||||
del blog.blogBase["postListJson"][i]["commentNum"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue