From 567bf5f002ed3e0804a30f487cafffed2551ce34 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Wed, 22 May 2019 10:01:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9B=A0=E9=80=80=E5=87=BA?= =?UTF-8?q?=E8=80=8C=E5=AF=BC=E8=87=B4=E7=9A=84=E6=8A=95=E7=A8=BF=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E4=B8=8D=E5=8F=98=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9B=A0=E4=B8=8B=E6=8B=A8=E5=90=8E=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E8=BF=9B=E7=A8=8B=E9=80=80=E5=87=BA=E8=80=8C=E6=88=BF?= =?UTF-8?q?=E9=97=B4=E4=BF=A1=E6=81=AF=E6=9C=AA=E6=9B=B4=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liveDownloader.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/liveDownloader.py b/liveDownloader.py index 13de5d1..d5086a4 100644 --- a/liveDownloader.py +++ b/liveDownloader.py @@ -76,7 +76,8 @@ def encode(): Common.uploadQueue.put(i) -def upload(date=datetime.strftime(datetime.now(), "%Y_%m_%d")): +def upload(): + date=datetime.strftime(datetime.now(), "%Y_%m_%d") Common.appendUploadStatus("Upload Daemon Starting") i = Common.uploadQueue.get() while True: @@ -132,6 +133,7 @@ def awakeDownload(): t = threading.Thread(target=download, args=()) t.setDaemon(True) t.start() + Common.api.updRoomInfo() return False