From bbce79c0e7233e91550b301ea3bdd9f58694bd83 Mon Sep 17 00:00:00 2001 From: Yoan Le Clanche Date: Thu, 11 Jul 2024 09:57:03 +0200 Subject: [PATCH] Fix webclass record : https://trackers.pilotsystems.net/prebarreau/0838 --- teleforma/views/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/views/core.py b/teleforma/views/core.py index 58be53a3..15b4f9ad 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -503,7 +503,7 @@ class CourseView(CourseAccessMixin, DetailView): try: context['webclass_records'] = WebclassRecord.get_records( - context['period'], course) + context['period'], course).get('WC', []) except Exception as e: print(e) context['webclass_error'] = True -- 2.39.5