file-browser: lint fixed
This commit is contained in:
parent
07d4f6ddf2
commit
4e0c114ce3
@ -108,8 +108,8 @@ class FilesLibraryProvider(backend.LibraryProvider):
|
|||||||
local_path = path.expand_path(
|
local_path = path.expand_path(
|
||||||
media_dir_split[0].encode(FS_ENCODING))
|
media_dir_split[0].encode(FS_ENCODING))
|
||||||
if not local_path:
|
if not local_path:
|
||||||
logger.warning('Failed expanding path (%s) from file/media_dirs'
|
logger.warning('Failed expanding path (%s) from'
|
||||||
'config value.',
|
'file/media_dirs config value.',
|
||||||
media_dir_split[0])
|
media_dir_split[0])
|
||||||
continue
|
continue
|
||||||
elif not os.path.isdir(local_path):
|
elif not os.path.isdir(local_path):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user