hopefully last reference to mime cleaned

This commit is contained in:
sanj 2010-07-28 03:42:19 +05:30
parent a4e3e67285
commit d671674ba9

View File

@ -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: