Merge pull request #19300 from alkasm:patch-2

pull/19314/head^2
Alexander Alekhin 4 years ago
commit fbcc532de5
  1. 2
      samples/python/tutorial_code/video/background_subtraction/bg_sub.py

@ -18,7 +18,7 @@ else:
## [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]

Loading…
Cancel
Save