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