Fixed bug in the cache computation

This commit is contained in:
Polochon-street 2016-10-07 16:51:19 +02:00
parent e19fe82d9f
commit c274b2be0c
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ def main(queue_length):
if cached_distances:
closest_song = (cached_distances[0],
cached_distances[0]["distance"],
cached_distances[1]["similarity"])
cached_distances[0]["similarity"])
else:
closest_song = None