updated logs

This commit is contained in:
asadazam93
2019-05-08 14:16:42 +05:00
parent d35e88e271
commit 397ee3dc4e

View File

@@ -303,7 +303,7 @@ class LibraryContentModule(LibraryContentFields, XModule, StudioEditableModule):
for block_type, block_id in self.selected_children():
child = self.runtime.get_block(self.location.course_key.make_usage_key(block_type, block_id))
if child is None:
logger.info("Child not found for [%s] [%s]".format(str(block_type), str(block_id)))
logger.info("Child not found for {} {}".format(str(block_type), str(block_id)))
yield child
def student_view(self, context):