From f10e3b5ee550ec205c66b452ca7073aa476494aa Mon Sep 17 00:00:00 2001 From: Kiritow <1362050620@qq.com> Date: Tue, 27 Jul 2021 00:22:35 +0000 Subject: [PATCH] Fix default speeder ratio --- tool_create.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool_create.py b/tool_create.py index c0b109e..49b4275 100755 --- a/tool_create.py +++ b/tool_create.py @@ -54,7 +54,7 @@ if op_mode in ("s", "m"): 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'): - speeder_ratio = input("Enter UDP Speeder Ratio (default to 20:10. Use 2:4 for gaming usage): ").strip() + 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, "port": 27100 + len(udp2raw_config["server"]), @@ -102,7 +102,7 @@ if op_mode in ("c", "m"): 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'): - speeder_ratio = input("Enter UDP Speeder Ratio (default to 20:10. Use 2:4 for gaming usage): ").strip() + 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, "port": 28100 + len(udp2raw_config["server"]),