Skip to content

Commit

Permalink
refactor: rename system with runtime on conditional_block
Browse files Browse the repository at this point in the history
  • Loading branch information
tecoholic authored and Agrendalath committed Jan 23, 2023
1 parent 59757ee commit 1a20033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmodule/conditional_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def get_required_module_descriptors(self):
descriptors = []
for location in self.sources_list:
try:
descriptor = self.system.get_block(location)
descriptor = self.runtime.get_block(location)
descriptors.append(descriptor)
except ItemNotFoundError:
msg = "Invalid module by location."
Expand Down

0 comments on commit 1a20033

Please sign in to comment.