another lyx2lyx fix for index

This commit is contained in:
Juergen Spitzmueller 2024-08-17 16:55:23 +02:00
parent 01f5efbe13
commit ccdf8ba701

View File

@ -661,8 +661,6 @@ def convert_index_sc(document):
line = document.body[k]
chunks = line.split(ec)
repl = []
if line[0] == ec:
repl = put_cmd_in_ert(ec)
chunks_len = len(chunks)-1
for ch in chunks[:-1]:
repl += [ch]