From e7448380590e3f668c98325c5d72a84f4564cf18 Mon Sep 17 00:00:00 2001 From: Kiritow <1362050620@qq.com> Date: Fri, 30 Jul 2021 16:41:45 +0000 Subject: [PATCH] Speeder changed to not enable by default --- tool_create.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tool_create.py b/tool_create.py index 49b4275..e42c32f 100755 --- a/tool_create.py +++ b/tool_create.py @@ -52,8 +52,8 @@ if op_mode in ("s", "m"): break - is_enable_speeder = input("Enable UDP Speeder for this tunnel? [Y/n]: ").strip() - if not is_enable_speeder or is_enable_speeder.lower() in ('y', 'yes'): + is_enable_speeder = input("Enable UDP Speeder for this tunnel? [y/N]: ").strip() + if is_enable_speeder and is_enable_speeder.lower() in ('y', 'yes'): speeder_ratio = input("Enter UDP Speeder Ratio (default to 20:10. Use 2:4 for gaming usage): ").strip() or "20:10" speeder_info = { "enable": True, @@ -100,8 +100,8 @@ if op_mode in ("c", "m"): break - is_enable_speeder = input("Enable UDP Speeder for this tunnel? [Y/n]: ").strip() - if not is_enable_speeder or is_enable_speeder.lower() in ('y', 'yes'): + is_enable_speeder = input("Enable UDP Speeder for this tunnel? [y/N]: ").strip() + if is_enable_speeder and is_enable_speeder.lower() in ('y', 'yes'): speeder_ratio = input("Enter UDP Speeder Ratio (default to 20:10. Use 2:4 for gaming usage): ").strip() or "20:10" speeder_info = { "enable": True,