max int
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user