diff options
Diffstat (limited to 'pandora/client.py')
-rw-r--r-- | pandora/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pandora/client.py b/pandora/client.py index 4e27208..ed97a7c 100644 --- a/pandora/client.py +++ b/pandora/client.py | |||
@@ -219,9 +219,9 @@ class APIClient(BaseAPIClient): | |||
219 | from .models.pandora import GenreStationList | 219 | from .models.pandora import GenreStationList |
220 | 220 | ||
221 | genres = self("station.getGenreStations") | 221 | genres = self("station.getGenreStations") |
222 | genres["checksum"] = self.get_genre_stations_checksum() | ||
223 | 222 | ||
224 | return GenreStationList.from_json(self, genres) | 223 | genre_stations = GenreStationList.from_json(self, genres) |
224 | genre_stations.checksum = self.get_genre_stations_checksum() | ||
225 | 225 | ||
226 | def get_genre_stations_checksum(self): | 226 | def get_genre_stations_checksum(self): |
227 | return self("station.getGenreStationsChecksum")["checksum"] | 227 | return self("station.getGenreStationsChecksum")["checksum"] |