Skip to content

Commit b764791

Browse files
authored
Fix typo (#1777)
1 parent 648855d commit b764791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manimlib/mobject/svg/text_mobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def find_substr_or_span(
311311
self, substr_or_span: str | tuple[int | None, int | None]
312312
) -> list[Span]:
313313
if isinstance(substr_or_span, str):
314-
return self.find_substr(substr)
314+
return self.find_substr(substr_or_span)
315315

316316
string_len = len(self.string)
317317
span_begin, span_end = substr_or_span

0 commit comments

Comments
 (0)