From f69dddf21bd4cab3931789dbbb1614d853e37963 Mon Sep 17 00:00:00 2001 From: sgrtye Date: Wed, 9 Oct 2024 21:41:12 +0100 Subject: [PATCH] remove duplicate inline proxy shuffle --- novel/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/novel/main.py b/novel/main.py index 775bb54..c69f812 100644 --- a/novel/main.py +++ b/novel/main.py @@ -191,9 +191,6 @@ def start_api_server(): try: while True: - if j == len(proxies) - 1 and random.randint(0, 9) == 0: - random.shuffle(proxies) - for index in range(len(proxies)): j = (j + 1) % len(proxies)