From 3a5819b0c62572caefc2ed43181662d2a2c5b0bf Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Wed, 21 Aug 2024 10:10:26 +0800 Subject: [PATCH] =?UTF-8?q?Update=20IP=E6=9B=B4=E6=96=B0=E6=A3=80=E6=B5=8B?= =?UTF-8?q?.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/IP更新检测.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/IP更新检测.py b/py/IP更新检测.py index 189be90..af88f60 100644 --- a/py/IP更新检测.py +++ b/py/IP更新检测.py @@ -391,7 +391,7 @@ for filename in os.listdir(folder_path): # 尝试打开视频流 cap = cv2.VideoCapture(url) start_time = time.time() - while (time.time() - start_time) < 1: + while (time.time() - start_time) < 2: ret, frame = cap.read() if not ret: break