Update find actions for 2.1.24; fixes #145

This commit is contained in:
Alex Yatskov 2020-04-30 16:20:55 -07:00
parent fb3513c721
commit e01544a538

View File

@ -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()