Skip to content
Snippets Groups Projects
Commit c1f9a66a authored by robinwilliam.hundt's avatar robinwilliam.hundt
Browse files

Bumped Min. req. Hektor version of import to 4.0.0

parent 05086310
No related branches found
No related tags found
No related merge requests found
Pipeline #110888 failed
This commit is part of merge request !192. Comments created here will be created in the context of that merge request.
......@@ -29,8 +29,8 @@ PASSWORDS = '.importer_passwords'
YES = 'Y/n'
NO = 'y/N'
RUSTY_HEKTOR_MIN_VER = ">=3.0.0"
RUSTY_HEKTOR_MAX_VER = "<4.0.0"
RUSTY_HEKTOR_MIN_VER = ">=4.0.0"
RUSTY_HEKTOR_MAX_VER = "<5.0.0"
valid = {"yes": True, "y": True, "ye": True, "no": False, "n": False}
......@@ -158,7 +158,7 @@ def load_reviewers():
store_pw=True)
def add_submission(student_obj, code, tests, type=None):
def add_submission(student_obj, code, tests, type=None, display_code=None):
submission_type_obj = SubmissionType.objects.get(name=type)
submission_obj, _ = Submission.objects.update_or_create(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment