sendat 支持到 168 小时

This commit is contained in:
omg-xtao 2022-12-12 13:51:46 +08:00 committed by GitHub
parent 9c6b13a06d
commit b5016d73b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ class SendTask:
self.minute = self.check_time(data[i - 1], 0, 60)
elif data[i] == "hours":
format_right = True
self.hour = self.check_time(data[i - 1], 0, 24)
self.hour = self.check_time(data[i - 1], 0, 168)
elif data[i] == "times":
self.interval = True
self.time_limit = int(self.check_time(data[i - 1], min_value=1))