CorrectMap allows unmatched keywords

This commit is contained in:
kimth
2012-08-27 17:12:20 -04:00
parent b53327a6a4
commit b45fb750b2

View File

@@ -32,7 +32,7 @@ class CorrectMap(object):
def __iter__(self):
return self.cmap.__iter__()
def set(self, answer_id=None, correctness=None, npoints=None, msg='', hint='', hintmode=None, queuestate=None):
def set(self, answer_id=None, correctness=None, npoints=None, msg='', hint='', hintmode=None, queuestate=None, **kwargs):
if answer_id is not None:
self.cmap[answer_id] = {'correctness': correctness,
'npoints': npoints,