From 6c4a5b62e629e5b6dc7f9ae62e9ca0f7284d6f3a Mon Sep 17 00:00:00 2001 From: JohnE Date: Thu, 18 Feb 2016 11:01:45 -0800 Subject: [PATCH] WIP: adding new fingerprint index --- libs/fingerprint_index.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/fingerprint_index.py b/libs/fingerprint_index.py index c145ddc..4ad95f8 100644 --- a/libs/fingerprint_index.py +++ b/libs/fingerprint_index.py @@ -87,6 +87,10 @@ class FingerprintIndex: FROM md5_all WHERE 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 except Exception as ex: logging.error(ex)