]> git.parisson.com Git - teleforma.git/commitdiff
Fix incorrect progressive url : https://trackers.pilotsystems.net/prebarreau/0791
authorYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 21 Feb 2024 13:05:52 +0000 (14:05 +0100)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 21 Feb 2024 13:05:52 +0000 (14:05 +0100)
teleforma/management/commands/teleforma-publish-notify-conferences.py

index a594a0686387072320e8677f62800e800568f41e..e9115bb1de6302fa2dc617bcead18201538503e8 100644 (file)
@@ -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,