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
|
resizedPath = filePath
|
||||||
else:
|
else:
|
||||||
filePath = r.file.url
|
filePath = r.file.url
|
||||||
iconPath = "/static/images/binimages/%s.jpg" % (r.type.mime)
|
iconPath = "/static/images/binimages/%s.jpg" % (r.ext)
|
||||||
resizedPath = filePath
|
resizedPath = filePath
|
||||||
if r.type == 'video':
|
if r.type == 'video':
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user