Replace "\" in ILIAS paths as well

I am not sure whether anybody really uses a backslash in their names,
but I guess it can't hurt to do this for windows users.
This commit is contained in:
I-Al-Istannen 2020-11-19 19:37:28 +01:00
parent ba9215ebe8
commit ba3c7f85fa

View File

@ -27,7 +27,7 @@ PRETTY = PrettyLogger(LOGGER)
def _sanitize_path_name(name: str) -> str:
return name.replace("/", "-")
return name.replace("/", "-").replace("\\", "-")
class IliasElementType(Enum):