Skip to content

Commit

Permalink
fix: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii committed May 29, 2024
1 parent d0f2f55 commit 3096d54
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion lms/djangoapps/support/views/contact_us.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

from common.djangoapps.student.views import get_course_enrollments, get_org_black_and_whitelist_for_site
from common.djangoapps.edxmako.shortcuts import render_to_response
from common.djangoapps.student.models import CourseEnrollment
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
from openedx.features.enterprise_support import api as enterprise_api

Expand Down
2 changes: 2 additions & 0 deletions lms/djangoapps/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class OptimizelyClient:

@classmethod
def get_optimizely_client(cls):
""" Returns an Optimizely full stack client instance."""

if not cls.optimizely_client:
optimizely_sdk_key = settings.OPTIMIZELY_FULLSTACK_SDK_KEY
if not optimizely_sdk_key:
Expand Down
7 changes: 5 additions & 2 deletions lms/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@

# Survey Report
re_path(
fr'^survey_report/',
r'^survey_report/',
include('openedx.features.survey_report.urls'),
),
]
Expand Down Expand Up @@ -1047,5 +1047,8 @@

# MFE API urls
urlpatterns += [
path('api/mfe_config/v1', include(('lms.djangoapps.mfe_config_api.urls', 'lms.djangoapps.mfe_config_api'), namespace='mfe_config_api'))
path('api/mfe_config/v1', include((
'lms.djangoapps.mfe_config_api.urls',
'lms.djangoapps.mfe_config_api'
), namespace='mfe_config_api'))
]

0 comments on commit 3096d54

Please sign in to comment.