Skip to content

Commit 62bc90b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 30819b8 commit 62bc90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/data/video_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def get_frame(self) -> Any:
145145
cap = self._get_cap()
146146
ret, frame = cap.read()
147147
cap.release()
148-
else:
148+
else:
149149
ret, frame = self._get_cap().read()
150150
if not ret:
151151
raise RuntimeError("Failed to read frame.")

0 commit comments

Comments
 (0)