From d671674ba973aff250fa24d223640bb45fa0725d Mon Sep 17 00:00:00 2001 From: sanj Date: Wed, 28 Jul 2010 03:42:19 +0530 Subject: [PATCH] hopefully last reference to mime cleaned --- edgware/editor/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edgware/editor/views.py b/edgware/editor/views.py index 296acb0..6222591 100644 --- a/edgware/editor/views.py +++ b/edgware/editor/views.py @@ -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: