mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
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:
parent
ba9215ebe8
commit
ba3c7f85fa
@ -27,7 +27,7 @@ PRETTY = PrettyLogger(LOGGER)
|
|||||||
|
|
||||||
|
|
||||||
def _sanitize_path_name(name: str) -> str:
|
def _sanitize_path_name(name: str) -> str:
|
||||||
return name.replace("/", "-")
|
return name.replace("/", "-").replace("\\", "-")
|
||||||
|
|
||||||
|
|
||||||
class IliasElementType(Enum):
|
class IliasElementType(Enum):
|
||||||
|
Loading…
Reference in New Issue
Block a user