Convert iterator to list to make it JSON serializable.
This commit is contained in:
parent
da4252cb11
commit
6a1a90e753
@ -489,7 +489,7 @@ class AnkiConnect:
|
|||||||
|
|
||||||
@api()
|
@api()
|
||||||
def multi(self, actions):
|
def multi(self, actions):
|
||||||
return map(self.handler, actions)
|
return list(map(self.handler, actions))
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user