adds ":" to characters in format_slug to substitute with "-"

This commit is contained in:
ricardo.bartels@telekom.de
2021-10-13 11:45:50 +02:00
parent 7d600bd5b1
commit f2aeca0a7e
+1 -1
View File
@@ -391,7 +391,7 @@ class NetBoxObject:
)
# Replace separators with dash
for sep in [" ", ",", "."]:
for sep in [" ", ",", ".", ":"]:
text = text.replace(sep, "-")
# Strip unacceptable characters