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")
|
||||
hits=[]
|
||||
hit_list=[]
|
||||
i=None
|
||||
for i,hit1 in enumerate(db1):
|
||||
if hit1[0] in hit_list:
|
||||
continue
|
||||
@@ -431,7 +432,7 @@ def find_fingerprint_similar(opts):
|
||||
hits.append(this1)
|
||||
hit_list.append(cmp)
|
||||
|
||||
if i==0:
|
||||
if i==None:
|
||||
print("No measurements found")
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user