From c0522667bb7d62d83bfda445cde0ba290ce36a9a Mon Sep 17 00:00:00 2001 From: Kiritow <1362050620@qq.com> Date: Tue, 1 Feb 2022 20:40:14 +0000 Subject: [PATCH] fix: base64 char = --- generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate.py b/generate.py index 0ca9529..3539156 100644 --- a/generate.py +++ b/generate.py @@ -222,7 +222,7 @@ class Parser: for line in this_peer_lines: if line.startswith('PublicKey'): - current_pubkey = line.split('=')[1].strip() + current_pubkey = '='.join(line.split('=')[1:]) if line.startswith('AllowedIPs'): current_allowed = line.split('=')[1].strip().split(',')