Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 1, 2024
1 parent f1ed19c commit 9c2c146
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions signac_dashboard/modules/video_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
Expand Down

0 comments on commit 9c2c146

Please sign in to comment.