Merge pull request #1611 from BernhardGehl/patch-1
remove leftover utf-8 encode from path handling
This commit is contained in:
commit
87ff8d9269
@ -143,5 +143,5 @@ class FileLibraryProvider(backend.LibraryProvider):
|
||||
def _is_in_basedir(self, local_path):
|
||||
return any(
|
||||
path.is_path_inside_base_dir(
|
||||
local_path, media_dir['path'].encode('utf-8'))
|
||||
local_path, media_dir['path'])
|
||||
for media_dir in self._media_dirs)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user