Remove errant print line left over from debugging
This commit is contained in:
@@ -267,9 +267,9 @@ def get_module(user, request, location, student_module_cache, position=None):
|
||||
|
||||
def add_histogram(module):
|
||||
original_get_html = module.get_html
|
||||
|
||||
def get_html():
|
||||
module_id = module.id
|
||||
print "Rendering Histogram for ", module_id
|
||||
histogram = grade_histogram(module_id)
|
||||
print histogram
|
||||
render_histogram = len(histogram) > 0
|
||||
@@ -279,6 +279,7 @@ def add_histogram(module):
|
||||
'render_histogram': render_histogram,
|
||||
'module_content': original_get_html()}
|
||||
return render_to_string("staff_problem_info.html", staff_context)
|
||||
|
||||
module.get_html = get_html
|
||||
return module
|
||||
|
||||
|
||||
Reference in New Issue
Block a user