diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 1d4fa60..5fde6ab 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,8 @@
-
+
+
@@ -210,7 +211,15 @@
1724416642213
-
+
+
+ 1724495688099
+
+
+
+ 1724495688099
+
+
@@ -252,6 +261,7 @@
-
+
+
\ No newline at end of file
diff --git a/main.py b/main.py
old mode 100644
new mode 100755
diff --git a/wg_func.py b/wg_func.py
old mode 100644
new mode 100755
index ee23027..5c10490
--- a/wg_func.py
+++ b/wg_func.py
@@ -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