From fecdcaf90e2c963d774ffbeca1b244f024be0a20 Mon Sep 17 00:00:00 2001 From: Q Date: Sun, 14 Apr 2024 11:55:53 +0300 Subject: [PATCH] better thr --- files/image_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/image_list.py b/files/image_list.py index 197c108..243d4a1 100755 --- a/files/image_list.py +++ b/files/image_list.py @@ -669,7 +669,7 @@ def find_fingerprint_nearest(opts): ''' Find nearest match to given file ''' cmp=os.path.realpath(opts.similarity.rsplit(",")[0]) - thr=sys.maxint + thr=65535 if len(opts.similarity.rsplit(","))>1: thr=int(opts.similarity.rsplit(",",1)[1]) conn=sqlite3.connect(opts.sqlfile)