parent
9f08bce6cd
commit
9f24c331a4
@ -108,12 +108,15 @@ class FileLibraryProvider(backend.LibraryProvider):
|
|||||||
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 '
|
logger.debug(
|
||||||
'file/media_dirs config value.',
|
'Failed expanding path (%s) from file/media_dirs config '
|
||||||
media_dir_split[0])
|
'value.',
|
||||||
|
media_dir_split[0])
|
||||||
continue
|
continue
|
||||||
elif not os.path.isdir(local_path):
|
elif not os.path.isdir(local_path):
|
||||||
logger.warning('%s is not a directory', local_path)
|
logger.warning(
|
||||||
|
'%s is not a directory. Please create the directory or '
|
||||||
|
'update the file/media_dirs config value.', local_path)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
media_dir['path'] = local_path
|
media_dir['path'] = local_path
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user