Skip to content

Commit fe1ac00

Browse files
List typo (#62)
* check lnegth of the list * increment version
1 parent 0238ee4 commit fe1ac00

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "tonic-textual"
3-
version = "3.10.6"
3+
version = "3.10.7"
44
description = "Wrappers around the Tonic Textual API"
55
authors = ["Adam Kamor <[email protected]>", "Joe Ferrara <[email protected]>", "Ander Steele <[email protected]>", "Ethan Philpott <[email protected]>", "Lyon Van Voorhis <[email protected]>", "Kirill Medvedev <[email protected]>", "Travis Matthews <[email protected]>"]
66
license = "MIT"

tonic_textual/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.10.6"
1+
__version__ = "3.10.7"

tonic_textual/helpers/redact_audio_file_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def get_intervals_to_redact(
115115
for segment in transcript_segments:
116116
# sometimes the last word of the previous segmant matches the first word of the new segment
117117
# this causes issues later on if repeats are not removed
118-
if len(transcript_words) > 0 and len(segment.words[0]) > 0 and segment.words[0] == transcript_words[-1]:
118+
if len(transcript_words) > 0 and len(segment.words) > 0 and segment.words[0] == transcript_words[-1]:
119119
transcript_words.extend(segment.words[1:])
120120
else:
121121
transcript_words.extend(segment.words)

0 commit comments

Comments
 (0)