mirror of
https://github.com/Kiritow/wg-ops.git
synced 2024-03-22 13:11:37 +08:00
fix: base64 char =
This commit is contained in:
parent
dcacb508fc
commit
c0522667bb
|
@ -222,7 +222,7 @@ class Parser:
|
||||||
|
|
||||||
for line in this_peer_lines:
|
for line in this_peer_lines:
|
||||||
if line.startswith('PublicKey'):
|
if line.startswith('PublicKey'):
|
||||||
current_pubkey = line.split('=')[1].strip()
|
current_pubkey = '='.join(line.split('=')[1:])
|
||||||
if line.startswith('AllowedIPs'):
|
if line.startswith('AllowedIPs'):
|
||||||
current_allowed = line.split('=')[1].strip().split(',')
|
current_allowed = line.split('=')[1].strip().split(',')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user