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 merge requests found
Pipeline #110888 failed
...@@ -29,8 +29,8 @@ PASSWORDS = '.importer_passwords' ...@@ -29,8 +29,8 @@ PASSWORDS = '.importer_passwords'
YES = 'Y/n' YES = 'Y/n'
NO = 'y/N' NO = 'y/N'
RUSTY_HEKTOR_MIN_VER = ">=3.0.0" RUSTY_HEKTOR_MIN_VER = ">=4.0.0"
RUSTY_HEKTOR_MAX_VER = "<4.0.0" RUSTY_HEKTOR_MAX_VER = "<5.0.0"
valid = {"yes": True, "y": True, "ye": True, "no": False, "n": False} valid = {"yes": True, "y": True, "ye": True, "no": False, "n": False}
...@@ -158,7 +158,7 @@ def load_reviewers(): ...@@ -158,7 +158,7 @@ def load_reviewers():
store_pw=True) 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_type_obj = SubmissionType.objects.get(name=type)
submission_obj, _ = Submission.objects.update_or_create( submission_obj, _ = Submission.objects.update_or_create(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment