From 8b6532aa88023147c7f0196205941b038d9b6a9d Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 13 Oct 2012 07:24:25 -0400 Subject: [PATCH] handler: expand kwargs when initializing InvalidAssignmentSubject. --- pygrader/handler/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygrader/handler/__init__.py b/pygrader/handler/__init__.py index 48ea200..d263390 100644 --- a/pygrader/handler/__init__.py +++ b/pygrader/handler/__init__.py @@ -88,7 +88,7 @@ class InvalidAssignmentSubject (InvalidSubjectMessage): kwargs['error'] = 'Subject matches multiple assignments' else: kwargs['error'] = "Subject doesn't match any assignment" - super(InvalidAssignmentSubject, self).__init__(kwargs) + super(InvalidAssignmentSubject, self).__init__(**kwargs) self.assignments = assignments -- 2.26.2