Skip to content

Commit

Permalink
Merge pull request opencv#19300 from alkasm:patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Jan 12, 2021
2 parents 72894a1 + e3856df commit fbcc532
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

## [capture]
capture = cv.VideoCapture(cv.samples.findFileOrKeep(args.input))
if not capture.isOpened:
if not capture.isOpened():
print('Unable to open: ' + args.input)
exit(0)
## [capture]
Expand Down

0 comments on commit fbcc532

Please sign in to comment.