Fixed an issue preventing library scan (logging error)

This commit is contained in:
Remy
2011-07-14 02:09:58 -07:00
parent 308528c964
commit b847b73b85

View File

@@ -84,7 +84,7 @@ def importartist(artistlist):
artistResults = ws.Query().getArtists(ws.ArtistFilter(string.replace(name, '&', '%38'), limit=1))
for result in artistResults:
if result.artist.name == 'Various Artists':
logger.info(u"Top result is Various Artists. Skipping.", logger.WARNING)
logger.info(u"Top result is Various Artists. Skipping.")
else:
logger.info(u"Found best match: "+result.artist.name+". Gathering album information...")
artistid = u.extractUuid(result.artist.id)