From 58c8055c47b729761569941b94107651ef497493 Mon Sep 17 00:00:00 2001 From: Muhammad Faraz Maqsood Date: Thu, 29 Feb 2024 18:32:46 +0500 Subject: [PATCH] convert floating digit to number --- openedx/features/sdaia_features/course_progress/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/features/sdaia_features/course_progress/tasks.py b/openedx/features/sdaia_features/course_progress/tasks.py index 006c6e34dcfe..3e72cbd1ee19 100644 --- a/openedx/features/sdaia_features/course_progress/tasks.py +++ b/openedx/features/sdaia_features/course_progress/tasks.py @@ -67,7 +67,7 @@ def send_user_course_progress_email(current_progress, progress_last_email_sent_a ) context={ - 'current_progress': current_progress, + 'current_progress': int(current_progress), 'progress_milestone_crossed': progress_last_email_sent_at, 'course_key': course_key, 'platform_name': platform_name,