jack 7 mēneši atpakaļ
vecāks
revīzija
89c803ae4c
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      daily/daily_3dos.py

+ 4 - 0
daily/daily_3dos.py

@@ -1,6 +1,8 @@
 # -*- coding: utf-8 -*-
 import sys
 import os
+import time
+
 from httpx import Client
 from concurrent.futures import ThreadPoolExecutor, as_completed
 
@@ -154,6 +156,8 @@ def main():
                 send_str += result + '\n'
                 print(result)
 
+    time.sleep(1)
+
     if send_str:
         gotify_notifier = GotifyNotifier(title='3dos daily', message=send_str, token_name='CheckAndRemind')
         gotify_notifier.send_message()