diff --git a/signac_dashboard/modules/video_viewer.py b/signac_dashboard/modules/video_viewer.py index 038dbdc..6ffcd80 100644 --- a/signac_dashboard/modules/video_viewer.py +++ b/signac_dashboard/modules/video_viewer.py @@ -100,9 +100,11 @@ def make_card(filename): "content": render_template( self.template, jobid=jobid, - poster=self.poster - if self.poster and job_or_project.isfile(self.poster) - else None, + poster=( + self.poster + if self.poster and job_or_project.isfile(self.poster) + else None + ), preload=self.preload, filename=filename, ),