更新一下因为不退出而导致之后的发布日期不对的问题

This commit is contained in:
Jerry Yan 2019-05-10 23:22:53 +08:00 committed by JerryYan
parent c1141c366a
commit f4bc6d847d

View File

@ -77,6 +77,9 @@ def upload(date=datetime.strftime(datetime.now(), "%Y_%m_%d")):
while True:
Common.doClean()
if Common.forceNotUpload:
if isinstance(i, bool):
Common.appendUploadStatus("设置了不上传,不会发布了")
return
Common.appendUploadStatus("设置了不上传,所以[{}]不会上传了".format(i))
i = Common.uploadQueue.get()
continue