Added special character '*' to list of exceptions in mb.findArtist

query. Why are you only quoting the queries with special characters?
Better results are had with quoting every time because of how lucene
works imo
This commit is contained in:
sbuser
2011-08-10 20:37:30 -05:00
parent 976311613b
commit c2768ae1f0

View File

@@ -24,7 +24,7 @@ def findArtist(name, limit=1):
attempt = 0
artistResults = None
chars = set('!?')
chars = set('!?*')
if any((c in chars) for c in name):
name = '"'+name+'"'