Skip to content

Commit

Permalink
not use map for python3 in task_executive
Browse files Browse the repository at this point in the history
  • Loading branch information
knorth55 committed Mar 25, 2023
1 parent 1e494d8 commit 37d2218
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dialogflow_task_executive/node_scripts/task_executive.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ def _list_apps_cb(self, msg):

@property
def running_apps(self):
return map(lambda a: a.name,
self._latest_msg.running_apps)
return [a.name for a in self._latest_msg.running_apps]

@property
def available_apps(self):
Expand Down

0 comments on commit 37d2218

Please sign in to comment.