Skip to content

Commit 6b545bd

Browse files
committed
Fix linter error
1 parent 063dabd commit 6b545bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

torchvision/io/video_reader.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import torch
44

55
from ..utils import _log_api_usage_once
6+
67
try:
78
from ._load_gpu_decoder import _HAS_GPU_VIDEO_DECODER
89
except ModuleNotFoundError:
@@ -16,6 +17,7 @@
1617
def _has_video_opt() -> bool:
1718
return True
1819

20+
1921
else:
2022

2123
def _has_video_opt() -> bool:

0 commit comments

Comments
 (0)