Adding proper indentation for pep8
Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com>
This commit is contained in:
committed by
Giovanni Cimolin da Silva
parent
95a219f395
commit
4ad50ef5d9
@@ -274,7 +274,7 @@ def get_component_templates(courselike, library=False):
|
||||
component_not_supported_by_library = ['discussion', 'openassessment']
|
||||
if library:
|
||||
component_types = [component for component in component_types
|
||||
if component not in set(component_not_supported_by_library)]
|
||||
if component not in set(component_not_supported_by_library)]
|
||||
|
||||
component_types = _filter_disabled_blocks(component_types)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user