Skip to content

Commit ef6a0f1

Browse files
committed
tweak
1 parent a7dd451 commit ef6a0f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/textual/content.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,7 @@ def add_spans(self, spans: Sequence[Span]) -> Content:
432432
"""
433433
if spans:
434434
return Content(self.plain, [*self._spans, *spans], self._cell_length)
435-
else:
436-
return self
435+
return self
437436

438437
def __eq__(self, other: object) -> bool:
439438
"""Compares text only, so that markup doesn't effect sorting."""

0 commit comments

Comments
 (0)