From 170c3a79aa7c9734605587837026571b0442b54f Mon Sep 17 00:00:00 2001 From: Q Date: Mon, 3 Jun 2024 10:46:34 +0300 Subject: [PATCH] max int --- 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)