From 90f6e8e1cb13e26d6350c738f7759888ad68e9d2 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Wed, 3 Apr 2019 11:43:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9ATest=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liveDownloader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/liveDownloader.py b/liveDownloader.py index aa5972f..1904b6b 100644 --- a/liveDownloader.py +++ b/liveDownloader.py @@ -182,7 +182,7 @@ if __name__ == "__main__": _count_error = 0 except Exception as e: print(e.__str__()) - time.sleep(10) + time.sleep(20) _count_error += 1 continue if _count_error > 15: @@ -201,5 +201,6 @@ if __name__ == "__main__": time.sleep(60) try: api.updRoomInfo() + _count_error = 0 except Exception as e: print(e.__str__())