]> git.parisson.com Git - teleforma.git/commitdiff
publish: check media, cleanup
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 7 Feb 2023 10:13:20 +0000 (11:13 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 7 Feb 2023 10:13:20 +0000 (11:13 +0100)
teleforma/management/commands/teleforma-publish-notify-conferences.py

index 4096c32b2ca12b19ca5d7b20c5b88bebff930c20..f8310736af9213809043800331b8b882e8de494f 100644 (file)
@@ -95,6 +95,7 @@ class Command(BaseCommand):
             if type(publication) == ConferencePublication:
                 conference = publication.conference
             else:
+
                 conference = publication            
 
             medias = conference.media.all()
@@ -138,3 +139,4 @@ class Command(BaseCommand):
                 publication.save()
 
 
+