Skip to content

Commit

Permalink
Merge pull request jiaaro#430 from timgates42/bugfix/typo_searched
Browse files Browse the repository at this point in the history
Fix simple typo: seached -> searched
  • Loading branch information
jiaaro committed Jan 30, 2020
2 parents b1d9405 + 9e676ab commit 24fbb80
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 24fbb80

Please sign in to comment.