BOM-2442
pyupgrade in leaner-profile, lti-course-tab, personalized-learner
This commit is contained in:
@@ -46,7 +46,7 @@ def learner_profile(request, username):
|
||||
GET /account/profile
|
||||
"""
|
||||
if should_redirect_to_profile_microfrontend():
|
||||
profile_microfrontend_url = "{}{}".format(settings.PROFILE_MICROFRONTEND_URL, username)
|
||||
profile_microfrontend_url = f"{settings.PROFILE_MICROFRONTEND_URL}{username}"
|
||||
return redirect(profile_microfrontend_url)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user