fixed formatting with correct line length

This commit is contained in:
JanLJL
2021-10-04 15:00:17 +02:00
parent 314feb4104
commit bc7761007c
5 changed files with 76 additions and 208 deletions

View File

@@ -133,11 +133,7 @@ def find_marked_section(
index_end = -1
for i, line in enumerate(lines):
try:
if (
line.instruction is None
and comments is not None
and line.comment is not None
):
if line.instruction is None and comments is not None and line.comment is not None:
if comments["start"] == line.comment:
index_start = i + 1
elif comments["end"] == line.comment: