diff --git a/tasks/receptionist/src/receptionist/states/speakdescriptions.py b/tasks/receptionist/src/receptionist/states/speakdescriptions.py index 42e7546e8..bbf9d5d91 100644 --- a/tasks/receptionist/src/receptionist/states/speakdescriptions.py +++ b/tasks/receptionist/src/receptionist/states/speakdescriptions.py @@ -8,15 +8,15 @@ def __init__(self, default): self.default = default def execute(self, userdata): - # for person in userdata['people']: - # self.default.voice.speak('I see a person') + for person in userdata['people']: + self.default.voice.speak('I see a person') - # for feature in person['features']: - # if feature.label: - # if len(feature.colours) == 0: - # self.default.voice.speak(f'They have {feature.name}.') - # continue + for feature in person['features']: + if feature.label: + if len(feature.colours) == 0: + self.default.voice.speak(f'They have {feature.name}.') + continue - # self.default.voice.speak(f'They have {feature.name} and it has the colour {feature.colours[0]}') + self.default.voice.speak(f'They have {feature.name} and it has the colour {feature.colours[0]}') return 'succeeded'