Skip to content

Commit 13f450f

Browse files
committed
fix: use getattr in use_catalog_mfe
1 parent e2d50f5 commit 13f450f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lms/djangoapps/branding/toggles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ def use_catalog_mfe():
1111
Returns a boolean = true if the Catalog MFE is enabled.
1212
"""
1313
return configuration_helpers.get_value(
14-
'ENABLE_CATALOG_MICROFRONTEND', settings.ENABLE_CATALOG_MICROFRONTEND
14+
'ENABLE_CATALOG_MICROFRONTEND', getattr(settings, 'ENABLE_CATALOG_MICROFRONTEND', False)
1515
)

0 commit comments

Comments
 (0)