Allow network path libraries

Swap normalized path strip from using strip to using rstrip to avoid stripping leading slashes
This commit is contained in:
Andrew Arneson
2024-04-23 22:59:18 -06:00
parent 45e765862d
commit dfe2b57952

View File

@@ -540,7 +540,7 @@ class Library:
2: File creation error
"""
path = os.path.normpath(path).strip('\\')
path = os.path.normpath(path).rstrip('\\')
if ts_core.TS_FOLDER_NAME in path:
return 1