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