Skip to content

Commit

Permalink
fix: pylint error because the line was too long
Browse files Browse the repository at this point in the history
  • Loading branch information
bra-i-am committed Feb 22, 2024
1 parent b7338c3 commit 32d9485
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cms/djangoapps/contentstore/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,11 @@ def get_pages_and_resources_url(course_locator):
Gets course authoring microfrontend URL for Pages and Resources view.
"""
pages_and_resources_url = None
if use_course_authoring_mfe(course_locator.org) and ENABLE_PAGES_AND_RESOURCES_MICROFRONTEND.is_enabled(course_locator):
if (
use_course_authoring_mfe(course_locator.org)
and
ENABLE_PAGES_AND_RESOURCES_MICROFRONTEND.is_enabled(course_locator)
):
mfe_base_url = get_course_authoring_url(course_locator)
if mfe_base_url:
pages_and_resources_url = f'{mfe_base_url}/course/{course_locator}/pages-and-resources'
Expand Down

0 comments on commit 32d9485

Please sign in to comment.