Trim whitespace in artist names in Spotify.artists

Basically Discord retrieves the data like
`artist1; artist2; artist3` and when you split only by `;` the results
will be: `[artist1, " artist2", " artist3"]`
This commit is contained in:
Amit Katz 2018-10-30 13:58:17 +02:00 committed by Rapptz
parent a105f8b8cc
commit c3f99682de

View File

@ -513,7 +513,7 @@ class Spotify:
@property
def artists(self):
"""List[:class:`str`]: The artists of the song being played."""
return self._state.split(';')
return self._state.split('; ')
@property
def artist(self):