From f3b2102d621339e0fb2f3d26fff2027f0105062e Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Wed, 4 Jun 2025 20:58:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E5=88=97=E8=A1=A8=E6=A3=80=E6=9F=A5=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=BB=A5=E6=8F=90=E9=AB=98=E4=BB=A3=E7=A0=81=E5=8F=AF?= =?UTF-8?q?=E8=AF=BB=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report.py b/report.py index d456176..ee5e175 100644 --- a/report.py +++ b/report.py @@ -9,7 +9,7 @@ d = DailymotionClient() while True: lis = db.get_report_video() - if lis.count() == 0: + if len(lis) == 0: time.sleep(20) for li in lis: try: