Convert iterator to list to make it JSON serializable.

This commit is contained in:
louie 2018-07-29 16:11:50 +08:00
parent da4252cb11
commit 6a1a90e753

View File

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