From 2616412c7e9adcb13e20e2d40b77e1e2717994a0 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 2 Aug 2022 11:56:25 +0200 Subject: [PATCH] cleanup --- .../management/commands/teleforma-publish-notify-conferences.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/teleforma/management/commands/teleforma-publish-notify-conferences.py b/teleforma/management/commands/teleforma-publish-notify-conferences.py index 20e2bea0..16d93379 100644 --- a/teleforma/management/commands/teleforma-publish-notify-conferences.py +++ b/teleforma/management/commands/teleforma-publish-notify-conferences.py @@ -95,8 +95,6 @@ class Command(BaseCommand): for conference in conferences: medias = conference.media.all() for media in medias: - media.is_published = True - media.save() if "video/mp4" in media.mime_type: linked_media = media media = conference.media.filter(mime_type='video/mp4')[0] -- 2.39.5