WIP: adding new fingerprint index
This commit is contained in:
parent
558c19ccb8
commit
6c4a5b62e6
|
@ -87,6 +87,10 @@ class FingerprintIndex:
|
||||||
FROM md5_all
|
FROM md5_all
|
||||||
WHERE md5_db=?
|
WHERE md5_db=?
|
||||||
''', [md5_db])
|
''', [md5_db])
|
||||||
|
|
||||||
|
for row in rows:
|
||||||
|
# normalize the data, go from tuple to array
|
||||||
|
# https://docs.python.org/2/library/sqlite3.html
|
||||||
return rows
|
return rows
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
logging.error(ex)
|
logging.error(ex)
|
||||||
|
|
Loading…
Reference in New Issue