Merge branch 'fix_bug_len' into 'master'
FIX: len for modules check See merge request Pmodules/Pmodules_tools!16
This commit is contained in:
commit
ffba8dbaa9
@ -28,10 +28,10 @@ def asciidoc_json_dump(list, name, steps, Pmodules_db_path):
|
||||
matrix_db = temp_matrix_db
|
||||
|
||||
# Update the database for new changes
|
||||
if len(list) > 1:
|
||||
if len(list) != 0:
|
||||
list_range = len(list) - steps + 1
|
||||
for index in range(0, list_range, steps):
|
||||
if len(list[index]) > 1:
|
||||
if len(list[index]) != 0:
|
||||
matrix_row = [list[index].split()[0]]
|
||||
if steps == 2:
|
||||
matrix_row += [
|
||||
|
Loading…
x
Reference in New Issue
Block a user