Skip to content
Snippets Groups Projects
Commit 2470d9a0 authored by DawoudSheraz's avatar DawoudSheraz
Browse files

fix logs condition

parent fa71006c
Branches
Tags
No related merge requests found
......@@ -51,7 +51,7 @@ def get_course_outline_block_tree(request, course_id, user=None):
try:
child_detail = populate_children(all_blocks[child_id], all_blocks)
except TypeError:
if u"MITx+6.002x+MITx_2012_Alumni" in course_outline_root_block[id]:
if u"MITx+6.002x+MITx_2012_Alumni" in course_outline_root_block['id']:
log.info(u"PopulateChildrenError for Child: {child} in block:{block} at index:{index}".format(
child=child_id,
block=block['id'],
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment