hopefully last reference to mime cleaned
This commit is contained in:
parent
a4e3e67285
commit
d671674ba9
|
@ -398,7 +398,7 @@ def category_json(request):
|
|||
resizedPath = filePath
|
||||
else:
|
||||
filePath = r.file.url
|
||||
iconPath = "/static/images/binimages/%s.jpg" % (r.type.mime)
|
||||
iconPath = "/static/images/binimages/%s.jpg" % (r.ext)
|
||||
resizedPath = filePath
|
||||
if r.type == 'video':
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user