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(',')