no meas. bug
This commit is contained in:
@@ -403,6 +403,7 @@ def find_fingerprint_similar(opts):
|
|||||||
db1.execute("SELECT file,fingerprint,sharpness,width,height,R,G,B FROM list WHERE sharpness > 0 ORDER BY file")
|
db1.execute("SELECT file,fingerprint,sharpness,width,height,R,G,B FROM list WHERE sharpness > 0 ORDER BY file")
|
||||||
hits=[]
|
hits=[]
|
||||||
hit_list=[]
|
hit_list=[]
|
||||||
|
i=None
|
||||||
for i,hit1 in enumerate(db1):
|
for i,hit1 in enumerate(db1):
|
||||||
if hit1[0] in hit_list:
|
if hit1[0] in hit_list:
|
||||||
continue
|
continue
|
||||||
@@ -431,7 +432,7 @@ def find_fingerprint_similar(opts):
|
|||||||
hits.append(this1)
|
hits.append(this1)
|
||||||
hit_list.append(cmp)
|
hit_list.append(cmp)
|
||||||
|
|
||||||
if i==0:
|
if i==None:
|
||||||
print("No measurements found")
|
print("No measurements found")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user