Skip to content

Commit

Permalink
fix: set the value of popup_on_launch field
Browse files Browse the repository at this point in the history
  • Loading branch information
rimsha-zaib committed Jan 24, 2024
1 parent 4208b79 commit ff542eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedxscorm/scormxblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def set_value(self, data):

self.scorm_data[name] = value
if name == "cmi.core.lesson_status":
lesson_status = data.get("value")
lesson_status = value
if lesson_status in ["passed", "failed"]:
success_status = lesson_status
elif lesson_status in ["completed", "incomplete"]:
Expand Down

0 comments on commit ff542eb

Please sign in to comment.