automatic num cols

This commit is contained in:
2020-06-13 18:00:19 +02:00
parent 643b0e8146
commit d9e693d799
2 changed files with 4 additions and 1 deletions

View File

@@ -28,6 +28,9 @@ def main(
answers, problems = make_problems_and_answers(bits, num_problems) answers, problems = make_problems_and_answers(bits, num_problems)
if bits > 12:
num_columns = 3
if pdf: if pdf:
make_pdf( make_pdf(
problems=problems, problems=problems,

View File

@@ -8,7 +8,7 @@ setup(
name="binary_quiz", name="binary_quiz",
author="Zev Averbach", author="Zev Averbach",
author_email="zev@averba.ch", author_email="zev@averba.ch",
version="0.1.3", version="0.1.4",
license="MIT", license="MIT",
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
description=( description=(