Skip to content

Commit a3fd4a4

Browse files
committed
small improvements
1 parent 38dc093 commit a3fd4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/text_manipulation/range_spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def from_line_marker(
191191
)
192192

193193
marker_subtype = (search_term.marker_subtype or "string").casefold()
194-
assert search_line or marker_subtype == 'empty', "Empty marker"
194+
assert search_line is not None or marker_subtype == 'empty', "Empty marker"
195195

196196
# Handle special marker subtypes that don't use normal line matching
197197
match marker_subtype:

0 commit comments

Comments
 (0)