修复关闭状态的issue编辑后会被抓取的BUG
This commit is contained in:
parent
8beb6d388a
commit
f7ea52be7f
3
Gmeek.py
3
Gmeek.py
@ -422,11 +422,14 @@ class GMEEK():
|
||||
def runOne(self,number_str):
|
||||
print("====== start create static html ======")
|
||||
issue=self.repo.get_issue(int(number_str))
|
||||
if issue.state == "open":
|
||||
listJsonName=self.addOnePostJson(issue)
|
||||
self.createPostHtml(self.blogBase[listJsonName]["P"+number_str])
|
||||
self.createPlistHtml()
|
||||
self.createFeedXml()
|
||||
print("====== create static html end ======")
|
||||
else:
|
||||
print("====== issue is closed ======")
|
||||
|
||||
def createFileName(self,issue,useLabel=False):
|
||||
if useLabel==True:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user