Skip to content

Commit

Permalink
Fix simple typo: seached -> searched
Browse files Browse the repository at this point in the history
  • Loading branch information
timgates42 committed Nov 11, 2019
1 parent 7f4d5e3 commit 9e676ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydub/silence.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def detect_silence(audio_segment, min_silence_len=1000, silence_thresh=-16, seek
slice_starts = range(0, last_slice_start + 1, seek_step)

# guarantee last_slice_start is included in the range
# to make sure the last portion of the audio is seached
# to make sure the last portion of the audio is searched
if last_slice_start % seek_step:
slice_starts = itertools.chain(slice_starts, [last_slice_start])

Expand Down

0 comments on commit 9e676ab

Please sign in to comment.