ignore blank answer

This commit is contained in:
Damien Elmes 2009-01-29 16:58:49 +09:00
parent 8e13b637a8
commit 75868490cf

View file

@ -133,6 +133,9 @@ class View(object):
playFromText(q)
def correct(self, a, b):
if b == "":
return "";
ret = "";
s = difflib.SequenceMatcher(None, b, a)