From 4c6885e8c5dd0c66fe0ac4373929adb9d8847b31 Mon Sep 17 00:00:00 2001 From: Nathan Sprenkle Date: Tue, 13 Aug 2024 11:23:07 -0400 Subject: [PATCH] feat: update override checking to include leading period Co-authored-by: Kyle McCormick --- xblock/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xblock/plugin.py b/xblock/plugin.py index b5b1d20c9..faac30f98 100644 --- a/xblock/plugin.py +++ b/xblock/plugin.py @@ -52,7 +52,7 @@ def select_with_overrides(identifier, all_entry_points): block_entry_points = [] for block_entry_point in all_entry_points: - if block_entry_point.group.endswith('overrides'): + if block_entry_point.group.endswith('.overrides'): overrides.append(block_entry_point) else: block_entry_points.append(block_entry_point)