From 83a490c79dfa86fc9651d9c7943e27cc23de29b7 Mon Sep 17 00:00:00 2001 From: e0d Date: Thu, 6 Jun 2013 16:04:42 -0400 Subject: [PATCH] fixing bug noticed in production --- lms/djangoapps/django_comment_client/base/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/django_comment_client/base/views.py b/lms/djangoapps/django_comment_client/base/views.py index 34e369c1ef..b2e3ea3e08 100644 --- a/lms/djangoapps/django_comment_client/base/views.py +++ b/lms/djangoapps/django_comment_client/base/views.py @@ -620,7 +620,7 @@ def upload(request, course_id): # ajax upload file to a question or answer raise exceptions.PermissionDenied(msg) except exceptions.PermissionDenied, err: - error = unicode(e) + error = unicode(err) except Exception, err: print err logging.critical(unicode(err))