and more form changes

This commit is contained in:
2021-06-21 12:54:03 +02:00
parent 75969c45ee
commit 9464739ae1
2 changed files with 10 additions and 7 deletions

View File

@ -113,7 +113,8 @@ class InterfaceParser(FileParser):
end_value = end_name_list[1]
if end_name == target_end_name and end_value is not None:
start_list_list_completed[idx][2] = end_value
end_list_list_completed[idx][1] = end_value + start_list_list_completed[idx][3]
end_list_list_completed[idx][1] = \
end_value + start_list_list_completed[idx][3]
all_indexes_filled = True
for idx, start_name_list in enumerate(start_list_list_completed):
if start_name_list[2] is None or end_name_list_list[idx][1] is None:
@ -300,7 +301,8 @@ class ReturnValueParser(FileParser):
for entry in list_of_entries.items():
file.write(
hex(entry[0]) + file_separator + entry[1][0] + file_separator + entry[1][1] +
file_separator + entry[1][2] + file_separator + entry[1][3] + file_separator + entry[1][4] + '\n'
file_separator + entry[1][2] + file_separator + entry[1][3] + file_separator +
entry[1][4] + '\n'
)
file.close()