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:
|
if query is None:
|
||||||
return []
|
return []
|
||||||
else:
|
else:
|
||||||
return self.collection().findNotes(query)
|
return list(map(int, self.collection().findNotes(query)))
|
||||||
|
|
||||||
|
|
||||||
@util.api()
|
@util.api()
|
||||||
@ -814,7 +814,7 @@ class AnkiConnect:
|
|||||||
if query is None:
|
if query is None:
|
||||||
return []
|
return []
|
||||||
else:
|
else:
|
||||||
return self.collection().findCards(query)
|
return list(map(int, self.collection().findCards(query)))
|
||||||
|
|
||||||
|
|
||||||
@util.api()
|
@util.api()
|
||||||
|
Loading…
Reference in New Issue
Block a user