remove a ',' in DNS Name
This commit is contained in:
2
wg_func.py
Normal file → Executable file
2
wg_func.py
Normal file → Executable file
@ -91,6 +91,8 @@ class ConToDict:
|
||||
# end... result a Dictionary
|
||||
address = finaldict['Address']
|
||||
dns = finaldict['DNS']
|
||||
if ',' in dns:
|
||||
dns = dns[:-1]
|
||||
endpoint = finaldict['Endpoint']
|
||||
return address, dns, endpoint
|
||||
|
||||
|
Reference in New Issue
Block a user