From f4bc6d847d0c579b377c831c62d89bc7b4373652 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Fri, 10 May 2019 23:22:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=80=E4=B8=8B=E5=9B=A0?= =?UTF-8?q?=E4=B8=BA=E4=B8=8D=E9=80=80=E5=87=BA=E8=80=8C=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E4=B9=8B=E5=90=8E=E7=9A=84=E5=8F=91=E5=B8=83=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E4=B8=8D=E5=AF=B9=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liveDownloader.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/liveDownloader.py b/liveDownloader.py index 3f6c762..e10d4ae 100644 --- a/liveDownloader.py +++ b/liveDownloader.py @@ -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