]> git.parisson.com Git - teleforma.git/commitdiff
fix video qs
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 19 Sep 2025 12:34:12 +0000 (14:34 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 19 Sep 2025 12:34:12 +0000 (14:34 +0200)
teleforma/models/core.py

index 422a766ad93651b9f4b629f8a00c7f89b153b929..362d5ee7fffa24989defd210df3bb72db2bb1bbf 100644 (file)
@@ -622,7 +622,7 @@ class Conference(models.Model):
             if videos:
                 if len(videos) > 1:
                     # workaround for video production multi source bug
-                    videos = videos.filter(file__in="_0.webm")[0]
+                    videos = videos.filter(file__contains="_0.webm")
                 return videos[0]
         except Media.DoesNotExist:
             try: