sendat fix #54

This commit is contained in:
xtaodada 2022-07-24 14:16:19 +08:00
parent 99ad91f62c
commit ace5189ae5
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.004",
"version": "1.005",
"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 = self.time_limit if self.time_limit > 0 else 1
self.time_limit = self.time_limit if self.time_limit > 0 else -1
class SendTasks: