sendat 修复循环次数恒定为 1

This commit is contained in:
xtaodada 2022-07-06 17:50:40 +08:00
parent e53ae25104
commit ee44f4c8a4
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
2 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@
},
{
"name": "sendat",
"version": "1.0",
"version": "1.001",
"section": "chat",
"maintainer": "xtaodada",
"size": "12.2 kb",

View File

@ -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: