diff --git a/main.py b/main.py index 666c071..a848386 100644 --- a/main.py +++ b/main.py @@ -2,6 +2,7 @@ import cv2 import numpy as np import urllib.request from datetime import datetime +import time recent=[] history=[] width=720 @@ -57,6 +58,7 @@ if __name__=="__main__": while True: if datetime.now().second==0 and datetime.now().minute!=lastminute: # if True: + time.sleep(0.5) (code,delay)=testConnect("https://blog.clf3.org") print(code,end=" ") if code/100<=3: