diff --git a/pillar/api/file_storage/__init__.py b/pillar/api/file_storage/__init__.py index af31b763..5f6445b2 100644 --- a/pillar/api/file_storage/__init__.py +++ b/pillar/api/file_storage/__init__.py @@ -185,8 +185,8 @@ def _video_duration_seconds(filename: pathlib.Path) -> typing.Optional[int]: str(filename), ] - duration = run(ffprobe_from_stream_args) or\ - run(ffprobe_from_container_args) or\ + duration = run(ffprobe_from_stream_args) or \ + run(ffprobe_from_container_args) or \ None return duration