From b63fc6251acfa769397b4d2973fd04cb88298f6c Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Mon, 31 Jul 2017 17:48:46 -0400 Subject: [PATCH] The kwargs are still wrong... --- lms/djangoapps/grades/services.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lms/djangoapps/grades/services.py b/lms/djangoapps/grades/services.py index 90f79ba8dd..574d3738ed 100644 --- a/lms/djangoapps/grades/services.py +++ b/lms/djangoapps/grades/services.py @@ -98,7 +98,8 @@ class GradesService(object): course_id=unicode(course_key), usage_id=unicode(usage_key), only_if_higher=False, - expected_modified=to_timestamp(override.modified), + expected_modified_time=to_timestamp(override.modified), + score_deleted=True, event_transaction_id=unicode(event_transaction_id), event_transaction_type=SUBSECTION_RESCORE_EVENT_TYPE, score_db_table=ScoreDatabaseTableEnum.overrides @@ -133,7 +134,7 @@ class GradesService(object): usage_id=unicode(usage_key), only_if_higher=False, # Not used when score_deleted=True: - expected_modified=to_timestamp(datetime.now().replace(tzinfo=pytz.UTC)), + expected_modified_time=to_timestamp(datetime.now().replace(tzinfo=pytz.UTC)), score_deleted=True, event_transaction_id=unicode(event_transaction_id), event_transaction_type=SUBSECTION_RESCORE_EVENT_TYPE,