Skip to content

Commit

Permalink
put tag into condition branch
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Sep 21, 2024
1 parent 27b28a6 commit 1cdc75b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/monty/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ def reverse_readline(
# Skip first match (the last line ending)
if skipped_1st_l_end:
yield line + l_end
skipped_1st_l_end = True
else:
skipped_1st_l_end = True

# Line ending not in current buffer, load next block into the buffer
elif pt_pos > 0:
Expand Down

0 comments on commit 1cdc75b

Please sign in to comment.