Catch exception when checking if a note can be created

This commit is contained in:
Alvaro Calace 2018-03-16 09:51:48 -03:00
parent 1dc9b90796
commit 13abf38ffb

View File

@ -401,7 +401,10 @@ class AnkiBridge:
def canAddNote(self, note):
try:
return bool(self.createNote(note))
except:
return False
def createNote(self, params):