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)