mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
ignore blank answer
This commit is contained in:
parent
8e13b637a8
commit
75868490cf
1 changed files with 3 additions and 0 deletions
|
@ -133,6 +133,9 @@ class View(object):
|
|||
playFromText(q)
|
||||
|
||||
def correct(self, a, b):
|
||||
if b == "":
|
||||
return "";
|
||||
|
||||
ret = "";
|
||||
s = difflib.SequenceMatcher(None, b, a)
|
||||
|
||||
|
|
Loading…
Reference in a new issue