Skip to content

Commit

Permalink
Fix AudioWrapper.list_sounds() (#121)
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <[email protected]>
  • Loading branch information
mhidalgo-bdai authored Jun 26, 2024
1 parent 3040f54 commit c749238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spot_wrapper/cam_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def list_sounds(self) -> typing.List[str]:
Returns:
List of names of available sounds
"""
return self.client.list_sounds()
return [sound.name for sound in self.client.list_sounds()]

def set_volume(self, percentage):
"""
Expand Down

0 comments on commit c749238

Please sign in to comment.