Update find actions for 2.1.24; fixes #145
This commit is contained in:
parent
fb3513c721
commit
e01544a538
@ -806,7 +806,7 @@ class AnkiConnect:
|
||||
if query is None:
|
||||
return []
|
||||
else:
|
||||
return self.collection().findNotes(query)
|
||||
return list(map(int, self.collection().findNotes(query)))
|
||||
|
||||
|
||||
@util.api()
|
||||
@ -814,7 +814,7 @@ class AnkiConnect:
|
||||
if query is None:
|
||||
return []
|
||||
else:
|
||||
return self.collection().findCards(query)
|
||||
return list(map(int, self.collection().findCards(query)))
|
||||
|
||||
|
||||
@util.api()
|
||||
|
Loading…
Reference in New Issue
Block a user