Skip to content

Commit

Permalink
DCO Remediation Commit for JK-rez <quarezjulien@gmail.com>
Browse files Browse the repository at this point in the history
I, JK-rez <quarezjulien@gmail.com>, hereby add my Signed-off-by to this commit: 068f3be

Signed-off-by: JK-rez <quarezjulien@gmail.com>
  • Loading branch information
JK-rez committed Feb 2, 2025
1 parent 295d477 commit 30819b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monai/data/video_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def get_frame(self) -> Any:
cap = self._get_cap()
ret, frame = cap.read()
cap.release()
else:
else:
ret, frame = self._get_cap().read()
if not ret:
raise RuntimeError("Failed to read frame.")
Expand Down

0 comments on commit 30819b8

Please sign in to comment.