From ee44f4c8a4aa8a3d3c41c8cb0b2bf520963b0adf Mon Sep 17 00:00:00 2001 From: xtaodada Date: Wed, 6 Jul 2022 17:50:40 +0800 Subject: [PATCH] =?UTF-8?q?sendat=20=E4=BF=AE=E5=A4=8D=E5=BE=AA=E7=8E=AF?= =?UTF-8?q?=E6=AC=A1=E6=95=B0=E6=81=92=E5=AE=9A=E4=B8=BA=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- list.json | 2 +- sendat/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/list.json b/list.json index a2da3e5..e2cae43 100644 --- a/list.json +++ b/list.json @@ -292,7 +292,7 @@ }, { "name": "sendat", - "version": "1.0", + "version": "1.001", "section": "chat", "maintainer": "xtaodada", "size": "12.2 kb", diff --git a/sendat/main.py b/sendat/main.py index 355c770..751766d 100644 --- a/sendat/main.py +++ b/sendat/main.py @@ -128,7 +128,7 @@ class SendTask: raise ValueError("Invalid task format") if no_date: self.interval = True - self.time_limit = 1 + self.time_limit = self.time_limit if self.time_limit > 0 else 1 class SendTasks: