mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-01-30 06:40:50 +00:00
Allow network path libraries
Swap normalized path strip from using strip to using rstrip to avoid stripping leading slashes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user