fixing bug noticed in production

This commit is contained in:
e0d
2013-06-06 16:04:42 -04:00
parent 5d3f6dc477
commit 83a490c79d

View File

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