From 2d97a12eb04962b62272b62c5479d88f7f291598 Mon Sep 17 00:00:00 2001 From: kaliko Date: Thu, 29 Jan 2015 11:39:08 +0100 Subject: [PATCH] Fixed top track mode --- sima/lib/webserv.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)) -- 2.39.5