From: Yoan Le Clanche Date: Wed, 21 Feb 2024 13:05:52 +0000 (+0100) Subject: Fix incorrect progressive url : https://trackers.pilotsystems.net/prebarreau/0791 X-Git-Tag: 2.9.0~35 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=fb60d36bb95d95e9db4578bd319cefb356125d66;p=teleforma.git Fix incorrect progressive url : https://trackers.pilotsystems.net/prebarreau/0791 --- diff --git a/teleforma/management/commands/teleforma-publish-notify-conferences.py b/teleforma/management/commands/teleforma-publish-notify-conferences.py index a594a068..e9115bb1 100644 --- a/teleforma/management/commands/teleforma-publish-notify-conferences.py +++ b/teleforma/management/commands/teleforma-publish-notify-conferences.py @@ -113,7 +113,7 @@ class Command(BaseCommand): logger.logger.info("Conference published: " + conference.public_id) # media = conference.media.filter(mime_type='video/mp4')[0] - url = reverse('teleforma-media-detail', args=[conference.period.id, linked_media.id]) + url = reverse('teleforma-media-detail', args=[publication.period.id, linked_media.id]) if conference.professor: elm = [conference.course.title,