Skip to content

Commit

Permalink
BUG typo correction: roi should be nroi
Browse files Browse the repository at this point in the history
  • Loading branch information
carienmol committed Sep 13, 2023
1 parent 3fc6037 commit e1b512e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion birdwatcher/movementdetection/movementdetection.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def apply_settings(vfs, settings, startat=None, nframes=None, roi=None,
if roi is not None:
roi = tuple([int(r*val) for r in roi])
if nroi is not None:
nroi = tuple([int(r*val) for r in roi])
nroi = tuple([int(r*val) for r in nroi])

if settings['blur']:
val = settings['blur']
Expand Down

0 comments on commit e1b512e

Please sign in to comment.