diff --git a/subedit.py b/subedit.py index 85a5b0e..2f2f3cd 100644 --- a/subedit.py +++ b/subedit.py @@ -61,7 +61,7 @@ elif ".edit" in file: new_brk, new_sub = [], {} for line in lines.split("\n"): - if "\n############ TIMESTAMPS ############" == line: + if "############ TIMESTAMPS ############" in line: break if line: idx, content = line.split(" | ")