From 2750c9d25be3a5745d69ad53da905674e1d2867e Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Fri, 22 Mar 2019 09:07:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=88=BF=E9=97=B4=E4=BF=A1=E6=81=AF=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, 2 insertions(+), 2 deletions(-) diff --git a/liveDownloader.py b/liveDownloader.py index c9bfb5f..47e8c2e 100644 --- a/liveDownloader.py +++ b/liveDownloader.py @@ -175,7 +175,7 @@ if __name__ == "__main__": et = threading.Thread(target=encode, args=()) et.setDaemon(True) et.start() - if _count % 6 == 0: + if _count % 15 == 0: try: api.updRoomInfo() _count = 0 @@ -184,7 +184,7 @@ if __name__ == "__main__": time.sleep(10) _count += 1 continue - _count += 1 + _count += 1 time.sleep(20) else: if d is not None: