mirror of
https://github.com/vale981/clay
synced 2025-03-05 09:31:40 -05:00
fixed formatting
This commit is contained in:
parent
b38c97cc64
commit
04de7fc155
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue