File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -227,5 +227,9 @@ async def list_running_plugins(self):
227
227
228
228
229
229
230
- return [PluginInfo ].translate_from_rpc (response .plugin_info )
231
-
230
+ plugin_info = []
231
+ for plugin_info_rpc in response .plugin_info :
232
+ plugin_info .append (PluginInfo .translate_from_rpc (plugin_info_rpc ))
233
+
234
+ return plugin_info
235
+
Original file line number Diff line number Diff line change @@ -631,8 +631,12 @@ async def download_mission(self):
631
631
raise MissionError (result , "download_mission()" )
632
632
633
633
634
- return [MissionItem ].translate_from_rpc (response .mission_items )
635
-
634
+ mission_items = []
635
+ for mission_items_rpc in response .mission_items :
636
+ mission_items .append (MissionItem .translate_from_rpc (mission_items_rpc ))
637
+
638
+ return mission_items
639
+
636
640
637
641
async def cancel_mission_download (self ):
638
642
"""
You can’t perform that action at this time.
0 commit comments