Skip to content

Commit

Permalink
refactor: update logic for checking override
Browse files Browse the repository at this point in the history
  • Loading branch information
nsprenkle committed Aug 8, 2024
1 parent 8334a0f commit e84f763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xblock/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def default_select(identifier, all_entry_points): # pylint: disable=inconsisten
block_entry_points = []

for block_entry_point in all_entry_points:
if "overrides" in block_entry_point.group:
if block_entry_point.group.endswith('overrides'):
overrides.append(block_entry_point)
else:
block_entry_points.append(block_entry_point)
Expand Down

0 comments on commit e84f763

Please sign in to comment.