Fixed bug in the cache computation
This commit is contained in:
parent
e19fe82d9f
commit
c274b2be0c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user