mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Fix error message for bad re.
This commit is contained in:
parent
db4f5f80e5
commit
683a5c488a
1 changed files with 1 additions and 2 deletions
|
@ -1130,8 +1130,7 @@ update cards set usn=?, mod=?, did=? where odid=0 and id in """ + ids2str(
|
||||||
field,
|
field,
|
||||||
frm.ignoreCase.isChecked())
|
frm.ignoreCase.isChecked())
|
||||||
except sre_constants.error:
|
except sre_constants.error:
|
||||||
ui.utils.showInfo(_("Invalid regular expression."),
|
showInfo(_("Invalid regular expression."), parent=self)
|
||||||
parent=self)
|
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
self.onSearch()
|
self.onSearch()
|
||||||
|
|
Loading…
Reference in a new issue