diff --git a/clay/gp.py b/clay/gp.py index 4e31625..99ffc58 100644 --- a/clay/gp.py +++ b/clay/gp.py @@ -375,7 +375,7 @@ class Station(object): Fetch tracks related to this station and populate it with :class:`Track` instances. """ - data = gp.mobile_client.get_station_tracks(self.id, STATION_FETCH_LEN) + data = gp.mobile_client.get_station_tracks(self.id, STATION_FETCH_LEN) self._tracks = Track.from_data(data, Track.SOURCE_STATION, many=True) self._tracks_loaded = True return self @@ -694,4 +694,4 @@ class _GP(object): return self.mobile_client.is_subscribed -gp = _GP() # pylint: disable=invalid-name \ No newline at end of file +gp = _GP() # pylint: disable=invalid-name diff --git a/clay/pages/mystations.py b/clay/pages/mystations.py index 0ee448b..3091900 100644 --- a/clay/pages/mystations.py +++ b/clay/pages/mystations.py @@ -142,7 +142,7 @@ class MyStationsPage(urwid.Columns, AbstractPage): self.songlist.set_placeholder(u'\n \uf01e Loading station tracks...') mystationlistitem.station.load_tracks_async(callback=self.on_station_loaded) - def on_station_loaded(self, station, error): + def on_station_loaded(self, station, error): """ Called when station tracks fetch completes. Populates songlist with tracks from the selected station.