From 5169d70b1401f4731caed8c82e0da5f39c9ecee5 Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Fri, 2 Apr 2021 11:47:41 -0400 Subject: [PATCH] fix: fix typo that prevented video completion working as intended Neither of these settings were being correctly set: * COMPLETION_BY_VIEWING_DELAY_MS * COMPLETION_VIDEO_COMPLETE_PERCENTAGE AA-743 --- lms/envs/production.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/envs/production.py b/lms/envs/production.py index 444e2589f6..12fc4ba5de 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -978,8 +978,8 @@ derive_settings(__name__) # (0.0 = 0%, 1.0 = 100%) COMPLETION_VIDEO_COMPLETE_PERCENTAGE = ENV_TOKENS.get('COMPLETION_VIDEO_COMPLETE_PERCENTAGE', COMPLETION_VIDEO_COMPLETE_PERCENTAGE) -COMPLETION_VIDEO_COMPLETE_PERCENTAGE = ENV_TOKENS.get('COMPLETION_BY_VIEWING_DELAY_MS', - COMPLETION_BY_VIEWING_DELAY_MS) +COMPLETION_BY_VIEWING_DELAY_MS = ENV_TOKENS.get('COMPLETION_BY_VIEWING_DELAY_MS', + COMPLETION_BY_VIEWING_DELAY_MS) ################# Settings for brand logos. ################# LOGO_URL = ENV_TOKENS.get('LOGO_URL', LOGO_URL)