Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed May 28, 2024
1 parent 21d0a10 commit e66fd8f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion torchvision/io/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ def read_video(

from torchvision import get_video_backend


if get_video_backend() != "pyav":
if not os.path.exists(filename):
raise RuntimeError(f"File not found: {filename}")
Expand Down

0 comments on commit e66fd8f

Please sign in to comment.