From 90a2bf4578f0397ed08618c086ee4f3c6645ef4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20S=C3=A1nchez=20Pizarro?= Date: Fri, 27 Oct 2023 15:09:42 +0200 Subject: [PATCH] sleep not working --- .gitignore | 3 ++- app/timenet_manager.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 45cbae9..a903233 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ config.json -googleoauth.json \ No newline at end of file +googleoauth.json +__pycache__ diff --git a/app/timenet_manager.py b/app/timenet_manager.py index 5df0386..9c3e4fc 100644 --- a/app/timenet_manager.py +++ b/app/timenet_manager.py @@ -102,7 +102,7 @@ class timenetManager: response = None if not args.debug: self.addMessage("####HACIENDO CHECK####") - sleep(random.randint(1, 4)) + sleep(random.randint(80, 230)) response = self.post("check", data, self.headers) else: self.addMessage('Corriendo en modo debug. No se realizará ninguna acción')