AudioAddict: make HISTORY an instance variable

This commit is contained in:
Pierre Mazière 2013-08-28 22:50:35 +02:00 committed by Florent
commit 5c158c3179

View file

@ -122,11 +122,10 @@ class AudioAddictBackend(BaseBackend, ICapRadio, ICapCollection):
default='h')
)
HISTORY = {}
def __init__(self, *a, **kw):
super(AudioAddictBackend, self).__init__(*a, **kw)
self.RADIOS = {}
self.HISTORY = {}
def _get_tracks_history(self, network):
self._fetch_radio_list()