Skip to content
Snippets Groups Projects
Commit 4b77e2a1 authored by ale's avatar ale
Browse files

fix / 2

parent e1404d05
No related branches found
No related tags found
No related merge requests found
......@@ -56,10 +56,10 @@ def dedupe_db():
if len(results) < 2:
continue
print 'SHA1: %s' % sha1
for track_id, score in results:
if track_id == sha1:
for entry in results:
if entry['track_id'] == sha1:
continue
print ' --> %s (%f)' % (track_id, score)
print ' --> %s (%s)' % (entry['track_id'], entry['score'])
def run_deduper(db_url):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment