From c7c5a0acf87ba9ad9fd035ea4b65577fc55504b4 Mon Sep 17 00:00:00 2001 From: Luke Weiler Date: Sat, 21 Nov 2020 10:22:31 -0500 Subject: [PATCH] Linter fix 2 --- mathgenerator/mathgen.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mathgenerator/mathgen.py b/mathgenerator/mathgen.py index 594795e..af26ac4 100644 --- a/mathgenerator/mathgen.py +++ b/mathgenerator/mathgen.py @@ -18,23 +18,23 @@ def make_worksheet(title): def write_pdf(worksheet): worksheet.write_pdf() - + def add_section_title(worksheet, task_id): title = genList[task_id][1] worksheet.add_instruction(title) - + def add_task_to_worksheet(worksheet, task_id, count): generator = genList[task_id][2] for i in range(count): worksheet.add_problem(generator()[0]) - + def add_section_with_task_to_worksheet(worksheet, task_id, count): add_section_title(worksheet, task_id) add_task_to_worksheet(worksheet, task_id, count) - + def make_pdf(task_id, count): title = genList[task_id][1] worksheet = make_worksheet(title)