diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-09-01 07:05:37 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-09-01 07:05:37 +0800 |
| commit | 6c07af6617a888d82d8ab69cc96dcf9bf31211bf (patch) | |
| tree | 3e14e5aaa83c6c91708953cbea1be1ec9cbb4df9 /main.py | |
| parent | a9cd88c229b74c89fe20807e154141b7f20cea01 (diff) | |
fixed timeout no return
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -42,11 +42,15 @@ def main(): main() return cmd except: - pass + sleep(0.1) + main() else: + sleep(0.5) main() else: - return f'Error: {response.status_code}' # response.text + #return f'Error: {response.status_code}' # response.text + sleep(0.25) + main() if __name__ == "__main__": |
