Remove unused argument

This commit is contained in:
Manu Cornet 2021-12-25 06:54:04 +00:00
parent 8d55c49ac7
commit e1503b7996
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ def draw_vertical_lines(data, n_cols, height):
col += 1
return data
def draw_active_space(data, n_rows, n_cols, index):
def draw_active_space(data, n_cols, index):
active_row = index // n_cols
active_col = index % n_cols
x = active_col * WORKSPACE_WIDTH + STROKE_WIDTH / 2
@ -79,7 +79,7 @@ def generate_icons(n_rows, n_cols):
data = draw_outer_rectangle(data, width, height)
data = draw_horizontal_lines(data, n_rows, width)
data = draw_vertical_lines(data, n_cols, height)
data = draw_active_space(data, n_rows, n_cols, i)
data = draw_active_space(data, n_cols, i)
data += "</svg>"
with open(filename, "w") as f:
f.write(data)