From 02644ed407ef89aa5fadee5344f62216572c7588 Mon Sep 17 00:00:00 2001 From: kaliko Date: Mon, 23 Dec 2013 17:51:20 +0100 Subject: [PATCH] Minor log message enhancement --- sima/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sima/client.py b/sima/client.py index cbd564b..b3c9591 100644 --- a/sima/client.py +++ b/sima/client.py @@ -227,7 +227,7 @@ class PlayerClient(Player): if len(arts) < 2: # TODO: better heuristic, use a ratio instead if album not in albums: albums.append(Album(name=album, albumartist=artist)) - elif album not in albums: + elif (album and album not in albums): self.log.debug('"{0}" probably not an album of "{1}"'.format( album, artist) + '({0})'.format('/'.join(arts))) return albums -- 2.39.5