From 1aa3932555206538fea412b2a8f79db8c75eec17 Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 18 Jul 2024 17:50:36 +0200 Subject: [PATCH] refactor: rename and clarify peer config print statement Renamed the 'chimpman_config' variable to 'peer_config' for clarity, and updated the print statement to more accurately reflect the content being displayed. This improves code readability and eliminates the use of ambiguous terminology. No changes to functionality. --- worker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/worker.py b/worker.py index ebc01ed..c9e2775 100644 --- a/worker.py +++ b/worker.py @@ -391,7 +391,7 @@ def main(provider, location, server_type): listen_port = config["wireguard"]["listen_port"] persistent_keepalive = config["wireguard"]["peer_persistent_keepalive"] - chimpman_config = f""" + peer_config = f""" [Peer] PublicKey = {public_key} PresharedKey = {preshared_key} @@ -400,8 +400,8 @@ Endpoint = [{server_ip}]:{listen_port} PersistentKeepalive = {persistent_keepalive} """ - print("Chimpman Wireguard Configuration:") - print(chimpman_config) + print("Wireguard Configuration:") + print(peer_config) # Run the main function with parsed arguments