use external file type for image (usually media asset) if nothing else ist found
This commit is contained in:
parent
f30e7d1698
commit
e345109432
1 changed files with 2 additions and 0 deletions
|
@ -197,6 +197,8 @@ class DirectoryCollectionProvider(object):
|
||||||
extFileType = extFileTypes.get(contentType.split('/')[0] + '/*')
|
extFileType = extFileTypes.get(contentType.split('/')[0] + '/*')
|
||||||
if extFileType is None:
|
if extFileType is None:
|
||||||
extFileType = extFileTypes['*/*']
|
extFileType = extFileTypes['*/*']
|
||||||
|
if extFileType is None:
|
||||||
|
extFileType = extFileTypes['image/*']
|
||||||
if extFileType is None:
|
if extFileType is None:
|
||||||
getLogger('loops.integrator.collection.DirectoryCollectionProvider'
|
getLogger('loops.integrator.collection.DirectoryCollectionProvider'
|
||||||
).warn('No external file type found for %r, '
|
).warn('No external file type found for %r, '
|
||||||
|
|
Loading…
Add table
Reference in a new issue