aboutsummaryrefslogtreecommitdiffstats
path: root/app/utils/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/utils/util.py')
-rw-r--r--app/utils/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/utils/util.py b/app/utils/util.py
index 4695879..385dea7 100644
--- a/app/utils/util.py
+++ b/app/utils/util.py
@@ -160,11 +160,11 @@ def get_extension(file_path: str) -> str:
def encode_aci_dn(object_id):
- return object_id.replace("topology/", "").replace("/", "___").replace("-", "__")
+ return object_id.replace("topology/", "").replace("/", "__")
def decode_aci_dn(object_id):
- return object_id.replace("___", "/").replace("__", "-")
+ return object_id.replace("__", "/")
def get_object_path_part(path: str, part_name: str):