diff options
-rw-r--r-- | config.example.py | 1 | ||||
-rw-r--r-- | leningrade.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/config.example.py b/config.example.py index ae36c57..31e40e1 100644 --- a/config.example.py +++ b/config.example.py @@ -3,7 +3,6 @@ HGROUP_NO = 1 HGROUP_MEMBERS = [("521370910000", "Vladimir Lenin")] HGROUP = {f"hgroup-{HGROUP_NO}": HGROUP_MEMBERS} LANGUAGE = "matlab" -HOMEWORK_NO = 2 EXERCISES = [1, 2, 3, 4, 5, 6] # TODO: figure out how to reliably obtain these two MANDATORY_FILES = [f"ex{n}.m" for n in EXERCISES] diff --git a/leningrade.py b/leningrade.py index aec0383..e4c29a6 100644 --- a/leningrade.py +++ b/leningrade.py @@ -25,7 +25,7 @@ cli_args = parser.parse_args() class Arguments: - hw = HOMEWORK_NO + hw = cli_args.homework_number rejudge = HGROUP_NO # I do not understand the naming dir = True tidy = True |