Fix issue #64
This commit is contained in:
parent
d613e184e6
commit
4c96cc4937
@ -764,7 +764,7 @@ class AnkiBridge:
|
||||
'fields': fields,
|
||||
'modelName': model['name'],
|
||||
'cards': self.collection().db.list(
|
||||
"select id from cards where nid = ? order by ord", self.id)
|
||||
"select id from cards where nid = ? order by ord", note.id)
|
||||
})
|
||||
except TypeError as e:
|
||||
# Anki will give a TypeError if the note ID does not exist.
|
||||
|
Loading…
Reference in New Issue
Block a user