Spaces:
Sleeping
Sleeping
Vaishak G Kumar
commited on
Update src/mapper/parser.py
Browse files- src/mapper/parser.py +2 -2
src/mapper/parser.py
CHANGED
@@ -13,9 +13,9 @@ class MapperParser:
|
|
13 |
def parse_teammapper_response(response, default_team="DefaultTeam"):
|
14 |
"""Parses the response from the teammapper and returns the team name."""
|
15 |
if not response or 'Team' not in response:
|
16 |
-
return "
|
17 |
team_info = response['Team']
|
18 |
for team, is_selected in team_info.items():
|
19 |
if is_selected:
|
20 |
return team
|
21 |
-
return "
|
|
|
13 |
def parse_teammapper_response(response, default_team="DefaultTeam"):
|
14 |
"""Parses the response from the teammapper and returns the team name."""
|
15 |
if not response or 'Team' not in response:
|
16 |
+
return "ConsultingTeam"
|
17 |
team_info = response['Team']
|
18 |
for team, is_selected in team_info.items():
|
19 |
if is_selected:
|
20 |
return team
|
21 |
+
return "ConsultingTeam"
|