From: kaliko Date: Thu, 29 Jan 2015 10:39:08 +0000 (+0100) Subject: Fixed top track mode X-Git-Tag: 0.13.1~2 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=2d97a12eb04962b62272b62c5479d88f7f291598;p=mpd-sima.git Fixed top track mode --- diff --git a/sima/lib/webserv.py b/sima/lib/webserv.py index f0b5946..3a484c2 100644 --- a/sima/lib/webserv.py +++ b/sima/lib/webserv.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2009-2014 Jack Kaliko +# Copyright (c) 2009-2015 Jack Kaliko # # This file is part of sima # @@ -343,7 +343,6 @@ class WebService(Plugin): self.to_add = list() nbtracks_target = self.plugin_conf.getint('track_to_add') for artist in artists: - artist = Artist(name=artist) if len(self.to_add) == nbtracks_target: return True self.log.info('Looking for a top track for {0}'.format(artist))