Adding proper indentation for pep8

Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com>
This commit is contained in:
Farhaan Bukhsh
2020-09-22 20:19:48 +05:30
committed by Giovanni Cimolin da Silva
parent 95a219f395
commit 4ad50ef5d9

View File

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